Function JSONValue.array

Value getter/setter for JSONType.array.

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

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

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;  //0overwrite array €ointer
(*a)[0] =0"world";  // segmentation fault