|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DefaultJSONObject | |
|---|---|
| org.compass.core.json.impl | |
| Uses of DefaultJSONObject in org.compass.core.json.impl |
|---|
| Subclasses of DefaultJSONObject in org.compass.core.json.impl | |
|---|---|
class |
DefaultAliasedJSONObject
An aliased DefaultJSONObject. |
| Methods in org.compass.core.json.impl that return DefaultJSONObject | |
|---|---|
DefaultJSONObject |
DefaultJSONObject.accumulate(String key,
Object value)
Accumulate values under a key. |
DefaultJSONObject |
DefaultJSONObject.append(String key,
Object value)
Append values to the array under a key. |
DefaultJSONObject |
DefaultJSONArray.getJSONObject(int index)
Get the JSONObject associated with an index. |
DefaultJSONObject |
DefaultJSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key. |
DefaultJSONObject |
DefaultJSONArray.optJSONObject(int index)
Get the optional JSONObject associated with an index. |
DefaultJSONObject |
DefaultJSONObject.optJSONObject(String key)
Get an optional JSONObject associated with a key. |
DefaultJSONObject |
DefaultJSONObject.put(String key,
boolean value)
Put a key/boolean pair in the JSONObject. |
DefaultJSONObject |
DefaultJSONObject.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. |
DefaultJSONObject |
DefaultJSONObject.put(String key,
double value)
Put a key/double pair in the JSONObject. |
DefaultJSONObject |
DefaultJSONObject.put(String key,
int value)
Put a key/int pair in the JSONObject. |
DefaultJSONObject |
DefaultJSONObject.put(String key,
long value)
Put a key/long pair in the JSONObject. |
DefaultJSONObject |
DefaultJSONObject.put(String key,
Map<String,Object> value)
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map. |
DefaultJSONObject |
DefaultJSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject. |
DefaultJSONObject |
DefaultJSONObject.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. |
DefaultJSONObject |
DefaultJSONArray.toJSONObject(DefaultJSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray. |
| Methods in org.compass.core.json.impl with parameters of type DefaultJSONObject | |
|---|---|
static String[] |
DefaultJSONObject.getNames(DefaultJSONObject jo)
Get an array of field names from a JSONObject. |
| Constructors in org.compass.core.json.impl with parameters of type DefaultJSONObject | |
|---|---|
DefaultJSONObject(DefaultJSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||