Appends value
to the array already mapped to name
.
Appends values to the array mapped to name
.
Returns the value at index
if it exists and is a
JSONObject
.
Returns the value mapped by name
if it exists and is a
JSONObject
, or throws otherwise.
Returns the value at index
if it exists and is a
JSONObject
.
Returns the value mapped by name
if it exists and is a
JSONObject
, or null otherwise.
Maps name
to value
, clobbering any existing name/value
mapping with the same name.
Maps name
to value
, clobbering any existing name/value
mapping with the same name.
Maps name
to value
, clobbering any existing name/value
mapping with the same name.
Maps name
to value
, clobbering any existing name/value
mapping with the same name.
Maps name
to value
, clobbering any existing name/value
mapping with the same name.
Equivalent to put(name, value)
when both parameters are non-null;
does nothing otherwise.
Reads a sequence of key/value pairs and the trailing closing brace '}' of
an object.
Returns a new object whose values are the values in this array, and whose
names are the values in names
.