JSONValue.array

inout(JSONValue[]) array() @property ref scope return inout pure @system

Value getter/setter for JSONType.array.

Throws

JSONException for read access if type is not

JSONType.array.

Note

This is @system because of the following pattern:

--- auto a = &(json.array()); json.uinteger = 0; // overwrite array pointer (*a)[0] = "world"; // segmentation fault ---

JSONValue[] array(return scope JSONValue[] v) @property pure nothrow @nogc @trusted scope

ditto