- <init>
Construct a JSONObject from a JSONTokener.
- get
Get the value object associated with a key.
- getBoolean
Get the boolean value associated with a key.
- getInt
Get the int value associated with a key. If the number value is too large for an
int, it will be cli
- getJSONArray
Get the JSONArray value associated with a key.
- getLong
Get the long value associated with a key. If the number value is too long for a
long, it will be cli
- getString
Get the string associated with a key.
- keys
Get an enumeration of the keys of the JSONObject.
- put
Put a key/boolean pair in the JSONObject.
- getJSONObject
Get the JSONObject value associated with a key.
- optString
Get an optional string associated with a key. It returns the defaultValue if
there is no such key.
- toString
Make a prettyprinted JSON text of this JSONObject. Warning: This method assumes
that the data struct