- <init>
Constructs a new JSONObject using a series of String keys and object values.
Object values sholuld b
- put
Maps name to value, clobbering any existing name/value mapping with the same
name. If the value is n
- get
Returns the value mapped by name, or throws if no such mapping exists.
- keys
Returns the set of String names in this object. The returned set is a view of
the keys in this objec
- length
Returns the number of name/value mappings in this object.
- print
Prints the JSONObject using the session.
- toString
- accumulate
Appends value to the array already mapped to name. If this object has no mapping
for name, this inse
- checkName
- numberToString
Encodes the number as a JSON string.
- opt
Returns the value mapped by name, or null if no such mapping exists.
- printValue
Prints a value (a JSONArray or JSONObject, or a value stored in an array or
object) using the sessio