JSONValue.get

A convenience getter that returns this JSONValue as the specified D type. Note: Only numeric types, 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]

Throws

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

Meta