JsonHelper.getAs

Undocumented in source. Be warned that the author may not have intended to support it.
  1. T getAs(const(JSONValue) json, T defaultValue)
  2. T getAs(const(JSONValue) json, T defaultValue)
  3. T getAs(const(JSONValue) json)
  4. T getAs(const(JSONValue) json, T defaultValue)
  5. T getAs(const(JSONValue) json)
  6. T getAs(const(JSONValue) json, T defaultValue)
  7. T getAs(const(JSONValue) json, T defaultValue)
    class JsonHelper
    static
    T
    getAs
    (
    T : U[]
    bool canThrow = false
    U
    )
    (
    auto ref const(JSONValue) json
    ,
    T defaultValue = T.init
    )
    if (
    isArray!T &&
    !isSomeString!T
    &&
    !is(T : string)
    &&
    !is(T : wstring)
    &&
    !is(T : dstring)
    )
  8. T getAs(const(JSONValue) json, T defaultValue)

Meta