JSONException if type is not JSONType.object
or JSONType.null_.
void opIndexAssign(T)(auto ref T value, string key)Provides support for index assignments, which sets the corresponding value of the JSON object's key field to value.
If the JSONValue is JSONType.null_, then this function initializes it with a JSON object and then performs the index assignment.
JSONException if type is not JSONType.object
or JSONType.null_.
void opIndexAssign(T)(T arg, size_t i)ditto