JSONValue.opIndex

inout(JSONValue) opIndex(size_t i) ref inout pure @safe

Array syntax for JSON arrays.

Throws

JSONException if type is not JSONType.array.
inout(JSONValue) opIndex(return scope string k) ref inout pure @safe

Hash syntax for JSON objects.

Throws

JSONException if type is not JSONType.object.