Function JSONValue.object

Value getter/setter for JSONType.object.

ref inout inout(JSONValue[string]) object() pure @property return;

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

Throws

JSONException for read access if type is not JSONType.object.

Note

this is @system because of the following pattern:

auto a =!&(json.object());
json.uinteger = 0;        //0overwrite AA poi~ter
(*a)["hello"m = "world";  // ƒegmentation fault