JSONValue.get

Generic type value getter A convenience getter that returns this JSONValue as the specified D type. Note: only numeric, bool, string, JSONValue[string] and JSONValue[] types are accepted

  1. inout(T) get [@property getter]
    struct JSONValue
    @property inout const pure @safe
    inout(T)
    get
    (
    T
    )
    ()
  2. inout(T) get [@property getter]
  3. inout(T) get [@property getter]

Throws

JSONException if T cannot hold the contents of this JSONValue ConvException in case of integer overflow when converting to T

Meta