-
JsonArray.add(boolean value)
Adds the JSON representation of the specified boolean
value to the array.
JsonArray.add(double value)
Adds the JSON representation of the specified double
value to the array.
JsonArray.add(float value)
Adds the JSON representation of the specified float
value to the array.
Adds the JSON representation of the specified int
value to the array.
JsonArray.add(long value)
Adds the JSON representation of the specified long
value to the array.
Adds the JSON representation of the specified string to the array.
Adds the specified JSON value to the array.
Returns this JSON value as
JsonArray
, assuming that this value represents a JSON
array.
Reads a JSON array from the given reader.
Reads a JSON array from the given string.
JsonArray.set(int index,
boolean value)
Replaces the element at the specified position in this array with the JSON representation of
the specified boolean
value.
JsonArray.set(int index,
double value)
Replaces the element at the specified position in this array with the JSON representation of
the specified double
value.
JsonArray.set(int index,
float value)
Replaces the element at the specified position in this array with the JSON representation of
the specified float
value.
JsonArray.set(int index,
int value)
Replaces the element at the specified position in this array with the JSON representation of
the specified int
value.
JsonArray.set(int index,
long value)
Replaces the element at the specified position in this array with the JSON representation of
the specified long
value.
Replaces the element at the specified position in this array with the JSON representation of
the specified string.
Replaces the element at the specified position in this array with the specified JSON value.
Returns an unmodifiable wrapper for the specified JsonArray.
Returns an unmodifiable wrapper for the specified JsonArray.
Creates a new JsonArray with the contents of the specified JSON array.