Package | Description |
---|---|
org.json.me |
Modifier and Type | Method and Description |
---|---|
static JSONArray |
JSONObject.Util.buildJSONArrayFromArray(java.lang.Object value) |
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 |
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 |
JSONArray.put(boolean value)
Append a boolean value.
|
JSONArray |
JSONArray.put(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.put(double value)
Append a double value.
|
JSONArray |
JSONArray.put(int value)
Append an int value.
|
JSONArray |
JSONArray.put(int index,
boolean value)
Put or replace a boolean value in the JSONArray.
|
JSONArray |
JSONArray.put(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.put(int index,
double value)
Put or replace a double value.
|
JSONArray |
JSONArray.put(int index,
int value)
Put or replace an int value.
|
JSONArray |
JSONArray.put(int index,
long value)
Put or replace a long value.
|
JSONArray |
JSONArray.put(int index,
java.util.Map<?,?> value)
Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.
|
JSONArray |
JSONArray.put(int index,
java.lang.Object value)
Put or replace an object value in the JSONArray.
|
JSONArray |
JSONArray.put(long value)
Append an long value.
|
JSONArray |
JSONArray.put(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.put(java.lang.Object value)
Append an object value.
|
JSONArray |
JSONObject.toJSONArray(JSONArray names)
Produce a JSONArray containing the values of the members of this JSONObject.
|
Modifier and Type | Method and Description |
---|---|
JSONArray |
JSONObject.toJSONArray(JSONArray names)
Produce a JSONArray containing the values of the members of this JSONObject.
|
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
|