private JSONArray |
JSONArray._addValue(java.lang.Object value,
JsonConfig jsonConfig) |
Append an object value.
|
private static JSONArray |
JSONArray._fromArray(boolean[] array,
JsonConfig jsonConfig) |
Construct a JSONArray from an boolean[].
|
private static JSONArray |
JSONArray._fromArray(byte[] array,
JsonConfig jsonConfig) |
Construct a JSONArray from an byte[].
|
private static JSONArray |
JSONArray._fromArray(char[] array,
JsonConfig jsonConfig) |
Construct a JSONArray from an char[].
|
private static JSONArray |
JSONArray._fromArray(double[] array,
JsonConfig jsonConfig) |
Construct a JSONArray from an double[].
|
private static JSONArray |
JSONArray._fromArray(float[] array,
JsonConfig jsonConfig) |
Construct a JSONArray from an float[].
|
private static JSONArray |
JSONArray._fromArray(int[] array,
JsonConfig jsonConfig) |
Construct a JSONArray from an int[].
|
private static JSONArray |
JSONArray._fromArray(long[] array,
JsonConfig jsonConfig) |
Construct a JSONArray from an long[].
|
private static JSONArray |
JSONArray._fromArray(short[] array,
JsonConfig jsonConfig) |
Construct a JSONArray from an short[].
|
private static JSONArray |
JSONArray._fromArray(java.lang.Enum e,
JsonConfig jsonConfig) |
Construct a JSONArray from an Enum value.
|
private static JSONArray |
JSONArray._fromArray(java.lang.Object[] array,
JsonConfig jsonConfig) |
|
private static JSONArray |
JSONArray._fromCollection(java.util.Collection collection,
JsonConfig jsonConfig) |
|
private static JSONArray |
JSONArray._fromJSONArray(JSONArray array,
JsonConfig jsonConfig) |
|
private static JSONArray |
JSONArray._fromJSONString(JSONString string,
JsonConfig jsonConfig) |
|
private static JSONArray |
JSONArray._fromJSONTokener(JSONTokener tokener,
JsonConfig jsonConfig) |
|
private static JSONArray |
JSONArray._fromString(java.lang.String string,
JsonConfig jsonConfig) |
|
protected JSONArray |
JSONArray.addString(java.lang.String str) |
Adds a String without performing any conversion on it.
|
private JSONArray |
JSONArray.addValue(java.lang.Object value,
JsonConfig jsonConfig) |
Append an object value.
|
JSONArray |
JSONArray.discard(int index) |
Remove an element, if present.
|
JSONArray |
JSONArray.discard(java.lang.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,
java.lang.Object value) |
Put or replace an object value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
java.lang.Object value,
JsonConfig jsonConfig) |
Put or replace an object value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
java.lang.String value) |
Put or replace a String value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
java.lang.String value,
JsonConfig jsonConfig) |
Put or replace a String value in the JSONArray.
|
JSONArray |
JSONArray.element(int index,
java.util.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,
java.util.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,
java.util.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,
java.util.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(java.lang.Object value) |
Append an object value.
|
JSONArray |
JSONArray.element(java.lang.Object value,
JsonConfig jsonConfig) |
Append an object value.
|
JSONArray |
JSONArray.element(java.lang.String value) |
Append a String value.
|
JSONArray |
JSONArray.element(java.lang.String value,
JsonConfig jsonConfig) |
Append a String value.
|
JSONArray |
JSONArray.element(java.util.Collection value) |
Append a value in the JSONArray, where the value will be a JSONArray which
is produced from a Collection.
|
JSONArray |
JSONArray.element(java.util.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(java.util.Map value) |
Put a value in the JSONArray, where the value will be a JSONObject which
is produced from a Map.
|
JSONArray |
JSONArray.element(java.util.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(java.lang.Object object) |
Creates a JSONArray.
Inspects the object type to call the correct JSONArray factory method.
|
static JSONArray |
JSONArray.fromObject(java.lang.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(java.lang.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(java.lang.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.
|