|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of JSONArray in org.json |
---|
Methods in org.json that return JSONArray | |
---|---|
JSONArray |
JSONArray.getJSONArray(int index)
Returns the value at index if it exists and is a JSONArray . |
JSONArray |
JSONObject.getJSONArray(java.lang.String name)
Returns the value mapped by name if it exists and is a JSONArray . |
JSONArray |
JSONObject.names()
Returns an array containing the string names in this object. |
JSONArray |
JSONArray.optJSONArray(int index)
Returns the value at index if it exists and is a JSONArray . |
JSONArray |
JSONObject.optJSONArray(java.lang.String name)
Returns the value mapped by name if it exists and is a JSONArray . |
JSONArray |
JSONArray.put(boolean value)
Appends value to the end of this array. |
JSONArray |
JSONArray.put(double value)
Appends value to the end of this array. |
JSONArray |
JSONArray.put(int value)
Appends value to the end of this array. |
JSONArray |
JSONArray.put(int index,
boolean value)
Sets the value at index to value , null padding this array
to the required length if necessary. |
JSONArray |
JSONArray.put(int index,
double value)
Sets the value at index to value , null padding this array
to the required length if necessary. |
JSONArray |
JSONArray.put(int index,
int value)
Sets the value at index to value , null padding this array
to the required length if necessary. |
JSONArray |
JSONArray.put(int index,
long value)
Sets the value at index to value , null padding this array
to the required length if necessary. |
JSONArray |
JSONArray.put(int index,
java.lang.Object value)
Sets the value at index to value , null padding this array
to the required length if necessary. |
JSONArray |
JSONArray.put(long value)
Appends value to the end of this array. |
JSONArray |
JSONArray.put(java.lang.Object value)
Appends value to the end of this array. |
JSONArray |
JSONObject.toJSONArray(JSONArray names)
Returns an array with the values corresponding to names . |
Methods in org.json with parameters of type JSONArray | |
---|---|
JSONArray |
JSONObject.toJSONArray(JSONArray names)
Returns an array with the values corresponding to names . |
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Returns a new object whose values are the values in this array, and whose names are the values in names . |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |