protected JSONArray |
JSONArray.addString(String str) |
Adds a String without performing any conversion on it.
|
JSONArray |
JSONArray.discard(int index) |
Remove an element, if present.
|
JSONArray |
JSONArray.discard(Object o) |
Remove an element, if present.
|
JSONArray |
JSONArray.element(boolean value) |
Append a boolean value.
|
JSONArray |
JSONArray.element(double value) |
Append a double value.
|
JSONArray |
JSONArray.element(int value) |
Append an int value.
|
JSONArray |
JSONArray.element(int index,
boolean value) |
Put or replace a boolean value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
double value) |
Put or replace a double value.
|
JSONArray |
JSONArray.element(int index,
int value) |
Put or replace an int value.
|
JSONArray |
JSONArray.element(int index,
long value) |
Put or replace a long value.
|
JSONArray |
JSONArray.element(int index,
Object value) |
Put or replace an object value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
Object value,
JsonConfig jsonConfig) |
Put or replace an object value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
String value) |
Put or replace a String value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
String value,
JsonConfig jsonConfig) |
Put or replace a String value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
Collection value) |
Put a value in the JSONArray, where the value will be a JSONArray which is
produced from a Collection.
|
JSONArray |
JSONArray.element(int index,
Collection value,
JsonConfig jsonConfig) |
Put a value in the JSONArray, where the value will be a JSONArray which is
produced from a Collection.
|
JSONArray |
JSONArray.element(int index,
Map value) |
Put a value in the JSONArray, where the value will be a JSONObject which
is produced from a Map.
|
JSONArray |
JSONArray.element(int index,
Map value,
JsonConfig jsonConfig) |
Put a value in the JSONArray, where the value will be a JSONObject which
is produced from a Map.
|
JSONArray |
JSONArray.element(long value) |
Append an long value.
|
JSONArray |
JSONArray.element(Object value) |
Append an object value.
|
JSONArray |
JSONArray.element(Object value,
JsonConfig jsonConfig) |
Append an object value.
|
JSONArray |
JSONArray.element(String value) |
Append a String value.
|
JSONArray |
JSONArray.element(String value,
JsonConfig jsonConfig) |
Append a String value.
|
JSONArray |
JSONArray.element(Collection value) |
Append a value in the JSONArray, where the value will be a JSONArray which
is produced from a Collection.
|
JSONArray |
JSONArray.element(Collection value,
JsonConfig jsonConfig) |
Append a value in the JSONArray, where the value will be a JSONArray which
is produced from a Collection.
|
JSONArray |
JSONArray.element(Map value) |
Put a value in the JSONArray, where the value will be a JSONObject which
is produced from a Map.
|
JSONArray |
JSONArray.element(Map value,
JsonConfig jsonConfig) |
Put a value in the JSONArray, where the value will be a JSONObject which
is produced from a Map.
|
JSONArray |
JSONArray.element(JSONNull value) |
Append an JSON value.
|
JSONArray |
JSONArray.element(JSONObject value) |
Append an JSON value.
|
static JSONArray |
JSONArray.fromObject(Object object) |
Creates a JSONArray.
Inspects the object type to call the correct JSONArray factory method.
|
static JSONArray |
JSONArray.fromObject(Object object,
JsonConfig jsonConfig) |
Creates a JSONArray.
Inspects the object type to call the correct JSONArray factory method.
|
JSONArray |
JSONArray.getJSONArray(int index) |
Get the JSONArray associated with an index.
|
JSONArray |
JSONObject.getJSONArray(String key) |
Get the JSONArray value associated with a key.
|
JSONArray |
JSONObject.names() |
Produce a JSONArray containing the names of the elements of this
JSONObject.
|
JSONArray |
JSONObject.names(JsonConfig jsonConfig) |
Produce a JSONArray containing the names of the elements of this
JSONObject.
|
JSONArray |
JSONArray.optJSONArray(int index) |
Get the optional JSONArray associated with an index.
|
JSONArray |
JSONObject.optJSONArray(String key) |
Get an optional JSONArray associated with a key.
|
JSONArray |
JSONObject.toJSONArray(JSONArray names) |
Produce a JSONArray containing the values of the members of this
JSONObject.
|