Returns the value at index if it exists and is a
JSONArray.
Returns the value mapped by name if it exists and is a
JSONArray, or throws otherwise.
Returns an array containing the string names in this object.
Returns the value at index if it exists and is a
JSONArray.
Returns the value mapped by name if it exists and is a
JSONArray, or null otherwise.
JSONArray.put(boolean value)
Appends value to the end of this array.
JSONArray.put(double value)
Appends value to the end of this array.
Appends value to the end of this array.
JSONArray.put(int index,
boolean value)
Sets the value at index to value, null padding this array
to the required length if necessary.
JSONArray.put(int index,
double value)
Sets the value at index to value, null padding this array
to the required length if necessary.
JSONArray.put(int index,
int value)
Sets the value at index to value, null padding this array
to the required length if necessary.
JSONArray.put(int index,
long value)
Sets the value at index to value, null padding this array
to the required length if necessary.
Sets the value at index to value, null padding this array
to the required length if necessary.
Sets the value at
index to
value wrapped into
JSONArray,
null padding this array to the required length if necessary.
JSONArray.put(long value)
Appends value to the end of this array.
Appends value to the end of this array.
Appends
value wrapped by
JSONArray to the end of this array.
Reads a sequence of values and the trailing closing brace ']' of an
array.
Returns an array with the values corresponding to names.