|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JSONObject | |
---|---|
us.monoid.json | |
us.monoid.web | Welcome to Resty! This is the main package of Resty. |
Uses of JSONObject in us.monoid.json |
---|
Methods in us.monoid.json that return JSONObject | |
---|---|
JSONObject |
JSONObject.accumulate(String key,
Object value)
Accumulate values under a key. |
JSONObject |
JSONObject.append(String key,
Object value)
Append values to the array under a key. |
JSONObject |
JSONObject.getJSONObject(Enum<?> key)
Get the JSONObject value associated with a key. |
JSONObject |
JSONArray.getJSONObject(int index)
Get the JSONObject associated with an index. |
JSONObject |
JSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key. |
JSONObject |
JSONObject.increment(Enum<?> key)
Increment a property of a JSONObject. |
JSONObject |
JSONObject.increment(String key)
Increment a property of a JSONObject. |
JSONObject |
JSONObject.optJSONObject(Enum<?> key)
Get an optional JSONObject associated with a key. |
JSONObject |
JSONArray.optJSONObject(int index)
Get the optional JSONObject associated with an index. |
JSONObject |
JSONObject.optJSONObject(String key)
Get an optional JSONObject associated with a key. |
JSONObject |
JSONObject.put(Enum<?> key,
boolean value)
Put a key/boolean pair in the JSONObject. |
JSONObject |
JSONObject.put(Enum<?> key,
Collection<?> value)
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection. |
JSONObject |
JSONObject.put(Enum<?> key,
double value)
Put a key/double pair in the JSONObject. |
JSONObject |
JSONObject.put(Enum<?> key,
int value)
Put a key/int pair in the JSONObject. |
JSONObject |
JSONObject.put(Enum<?> key,
long value)
Put a key/long pair in the JSONObject. |
JSONObject |
JSONObject.put(Enum<?> key,
Map<?,?> value)
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map. |
JSONObject |
JSONObject.put(Enum<?> key,
Object value)
Put a key/value pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
boolean value)
Put a key/boolean pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
Collection<?> value)
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection. |
JSONObject |
JSONObject.put(String key,
double value)
Put a key/double pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
int value)
Put a key/int pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
long value)
Put a key/long pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
Map<?,?> value)
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map. |
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject. |
JSONObject |
JSONObject.putOnce(Enum<?> key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name. |
JSONObject |
JSONObject.putOnce(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name. |
JSONObject |
JSONObject.putOpt(Enum<?> key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null. |
JSONObject |
JSONObject.putOpt(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null. |
static JSONObject |
CDL.rowToJSONObject(JSONArray names,
JSONTokener x)
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements. |
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray. |
static JSONObject |
XML.toJSONObject(String string)
Convert a well-formed (but not necessarily valid) XML string into a JSONObject. |
static JSONObject |
JSONML.toJSONObject(String string)
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform. |
static JSONObject |
HTTP.toJSONObject(String string)
Convert an HTTP header string into a JSONObject. |
static JSONObject |
CookieList.toJSONObject(String string)
Convert a cookie list into a JSONObject. |
static JSONObject |
Cookie.toJSONObject(String string)
Convert a cookie specification string into a JSONObject. |
static JSONObject |
JSONML.toJSONObject(XMLTokener x)
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform. |
Methods in us.monoid.json with parameters of type JSONObject | |
---|---|
static String[] |
JSONObject.getNames(JSONObject jo)
Get an array of field names from a JSONObject. |
static String |
JSONML.toString(JSONObject jo)
Reverse the JSONML transformation, making an XML text from a JSONObject. |
static String |
HTTP.toString(JSONObject o)
Convert a JSONObject into an HTTP header. |
static String |
CookieList.toString(JSONObject o)
Convert a JSONObject into a cookie list. |
static String |
Cookie.toString(JSONObject o)
Convert a JSONObject into a cookie specification string. |
Constructors in us.monoid.json with parameters of type JSONObject | |
---|---|
JSONObject(JSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject. |
Uses of JSONObject in us.monoid.web |
---|
Methods in us.monoid.web that return JSONObject | |
---|---|
JSONObject |
JSONResource.object()
Parse and return JSON object. |
JSONObject |
JSONResource.toObject()
Added for compatibility with Scala. |
Methods in us.monoid.web with parameters of type JSONObject | |
---|---|
static Content |
Resty.content(JSONObject someJson)
Create a content object from JSON. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |