- length
Get the number of elements in the JSONArray, included nulls.
- <init>
Construct a JSONArray from a JSONTokener.
- put
Append a boolean value. This increases the array's length by one.
- getJSONObject
Get the JSONObject associated with an index.
- get
Get the object value associated with an index.
- getString
Get the string associated with an index.
- toString
Make a prettyprinted JSON text of this JSONArray. Warning: This method assumes
that the data structu
- getJSONArray
Get the JSONArray associated with an index.
- opt
Get the optional object value associated with an index.
- optJSONObject
Get the optional JSONObject associated with an index. Null is returned if the
key is not found, or n
- optString
Get the optional string associated with an index. The defaultValue is returned
if the key is not fou
- write
Write the contents of the JSONArray as JSON text to a writer. For compactness,
no whitespace is adde