# Uses of Class
org.eclipse.rap.json.JsonArray

Packages that use JsonArray
Package
Description
org.eclipse.rap.json

## Uses of JsonArray in org.eclipse.rap.json

Methods in org.eclipse.rap.json that return JsonArray
Modifier and Type
Method
Description
`JsonArray`
JsonArray.`add(boolean value)`
Adds the JSON representation of the specified `boolean` value to the array.
`JsonArray`
JsonArray.`add(double value)`
Adds the JSON representation of the specified `double` value to the array.
`JsonArray`
JsonArray.`add(float value)`
Adds the JSON representation of the specified `float` value to the array.
`JsonArray`
JsonArray.`add(int value)`
Adds the JSON representation of the specified `int` value to the array.
`JsonArray`
JsonArray.`add(long value)`
Adds the JSON representation of the specified `long` value to the array.
`JsonArray`
JsonArray.`add(String value)`
Adds the JSON representation of the specified string to the array.
`JsonArray`
JsonArray.`add(JsonValue value)`
Adds the specified JSON value to the array.
`JsonArray`
JsonArray.`asArray()`
`JsonArray`
JsonValue.`asArray()`
Returns this JSON value as `JsonArray`, assuming that this value represents a JSON array.
`static JsonArray`
JsonArray.`readFrom(Reader reader)`
Reads a JSON array from the given reader.
`static JsonArray`
JsonArray.`readFrom(String string)`
Reads a JSON array from the given string.
`JsonArray`
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`
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`
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`
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`
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.
`JsonArray`
JsonArray.`set(int index, String value)`
Replaces the element at the specified position in this array with the JSON representation of the specified string.
`JsonArray`
JsonArray.`set(int index, JsonValue value)`
Replaces the element at the specified position in this array with the specified JSON value.
`static JsonArray`
JsonArray.`unmodifiableArray(JsonArray array)`
Returns an unmodifiable wrapper for the specified JsonArray.
Methods in org.eclipse.rap.json with parameters of type JsonArray
Modifier and Type
Method
Description
`static JsonArray`
JsonArray.`unmodifiableArray(JsonArray array)`
Returns an unmodifiable wrapper for the specified JsonArray.
Constructors in org.eclipse.rap.json with parameters of type JsonArray
Modifier
Constructor
Description
``
`JsonArray(JsonArray array)`
Creates a new JsonArray with the contents of the specified JSON array.