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)
    class JsonHelper
    static
    T
    getAs
    (
    T
    bool canThrow = false
    )
    (
    auto ref const(JSONValue) json
    ,
    T defaultValue = T.init
    )
    if (
    isSomeString!T ||
    is(T : string)
    ||
    is(T : wstring)
    ||
    is(T : dstring)
    )
  7. T getAs(const(JSONValue) json, T defaultValue)
  8. T getAs(const(JSONValue) json, T defaultValue)

Meta