- <init>
Construct a JSONObject from a JSONTokener.
- getString
Get the string associated with a key.
- toString
Make a prettyprinted JSON text of this JSONObject. Warning: This method assumes
that the data struct
- put
Put a key/boolean pair in the JSONObject.
- getJSONArray
Get the JSONArray value associated with a key.
- getJSONObject
Get the JSONObject value associated with a key.
- has
Determine if the JSONObject contains a specific key.
- getInt
Get the int value associated with a key.
- get
Get the value object associated with a key.
- optString
Get an optional string associated with a key. It returns the defaultValue if
there is no such key.
- keys
Get an enumeration of the keys of the JSONObject.
- getBoolean
Get the boolean value associated with a key.