- getString
Get the string associated with a key.
- <init>
Construct a JSONObject from a JSONTokener.
- get
Get the value object associated with a key.
- getJSONArray
Get the JSONArray value associated with a key.
- put
Put a key/boolean pair in the JSONObject.
- toString
Make a prettyprinted JSON text of this JSONObject. Warning: This method assumes
that the data struct
- has
Determine if the JSONObject contains a specific key.
- length
Get the number of keys stored in the JSONObject.
- optBoolean
Get an optional boolean associated with a key. It returns the defaultValue if
there is no such key,
- optDouble
Get an optional double associated with a key, or the defaultValue if there is no
such key or if its
- optInt
Get an optional int value associated with a key, or the default if there is no
such key or if the va
- optLong
Get an optional long value associated with a key, or the default if there is no
such key or if the v