- <init>
Construct a JSONObject from a JSONTokener.
- get
Get the value object associated with a key.
- getString
Get the string associated with a key.
- has
Determine if the JSONObject contains a specific key.
- keys
Get an enumeration of the keys of the JSONObject.
- length
Get the number of keys stored in the JSONObject.
- 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
- accumulate
Accumulate values under a key. It is similar to the put method except that if
there is already an ob
- getBoolean
Get the boolean value associated with a key.
- getDouble
Get the double value associated with a key.
- getInt
Get the int value associated with a key.