- <init>
Construct a JSONArray from a JSONTokener.
- toString
Make a pretty printed JSON text of this JSONArray. Warning: This method assumes
that the data struct
- get
Get the object value associated with an index.
- getBoolean
Get the boolean value associated with an index. The string values "true" and
"false" are converted t
- getDouble
Get the double value associated with an index.
- getInt
Get the int value associated with an index.
- getLong
Get the long value associated with an index.
- getString
Get the string associated with an index.
- join
Make a string from the contents of this JSONArray. The separator string is inserted between each ele
- length
Get the number of elements in the JSONArray, included nulls.
- opt
Get the optional object value associated with an index.
- optBoolean
Get the optional boolean value associated with an index. It returns the
defaultValue if there is no