Uses of Class
org.codehaus.jettison.json.JSONObject
-
Packages that use JSONObject Package Description org.codehaus.jettison org.codehaus.jettison.badgerfish org.codehaus.jettison.json org.codehaus.jettison.mapped -
-
Uses of JSONObject in org.codehaus.jettison
Fields in org.codehaus.jettison declared as JSONObject Modifier and Type Field Description (package private) JSONObject
Node. object
Methods in org.codehaus.jettison that return JSONObject Modifier and Type Method Description JSONObject
Node. getObject()
Methods in org.codehaus.jettison with parameters of type JSONObject Modifier and Type Method Description void
Convention. processAttributesAndNamespaces(Node n, JSONObject object)
void
Node. setObject(JSONObject object)
Constructors in org.codehaus.jettison with parameters of type JSONObject Constructor Description Node(JSONObject object)
Node(Node parent, java.lang.String name, JSONObject object, Convention con)
-
Uses of JSONObject in org.codehaus.jettison.badgerfish
Fields in org.codehaus.jettison.badgerfish declared as JSONObject Modifier and Type Field Description private JSONObject
BadgerFishXMLStreamWriter. currentNode
private JSONObject
BadgerFishXMLStreamWriter. root
Methods in org.codehaus.jettison.badgerfish that return JSONObject Modifier and Type Method Description protected JSONObject
BadgerFishXMLStreamWriter. getCurrentNode()
Methods in org.codehaus.jettison.badgerfish with parameters of type JSONObject Modifier and Type Method Description void
BadgerFishConvention. processAttributesAndNamespaces(Node n, JSONObject object)
Constructors in org.codehaus.jettison.badgerfish with parameters of type JSONObject Constructor Description BadgerFishXMLStreamReader(JSONObject obj)
BadgerFishXMLStreamWriter(java.io.Writer writer, JSONObject currentNode)
BadgerFishXMLStreamWriter(java.io.Writer writer, JSONObject currentNode, FastStack nodes)
-
Uses of JSONObject in org.codehaus.jettison.json
Methods in org.codehaus.jettison.json that return JSONObject Modifier and Type Method Description JSONObject
JSONObject. accumulate(java.lang.String key, java.lang.Object value)
Accumulate values under a key.JSONObject
JSONObject. append(java.lang.String key, java.lang.Object value)
Append values to the array under a key.protected JSONObject
JSONObject. doPut(java.lang.String key, java.lang.Object value, int threshold, boolean checkExistingValue)
JSONObject
JSONArray. getJSONObject(int index)
Get the JSONObject associated with an index.JSONObject
JSONObject. getJSONObject(java.lang.String key)
Get the JSONObject value associated with a key.protected JSONObject
JSONTokener. newJSONObject()
JSONObject
JSONArray. optJSONObject(int index)
Get the optional JSONObject associated with an index.JSONObject
JSONObject. optJSONObject(java.lang.String key)
Get an optional JSONObject associated with a key.JSONObject
JSONObject. put(java.lang.String key, boolean value)
Put a key/boolean pair in the JSONObject.JSONObject
JSONObject. put(java.lang.String key, double value)
Put a key/double pair in the JSONObject.JSONObject
JSONObject. put(java.lang.String key, int value)
Put a key/int pair in the JSONObject.JSONObject
JSONObject. put(java.lang.String key, long value)
Put a key/long pair in the JSONObject.JSONObject
JSONObject. put(java.lang.String key, java.lang.Object value)
Put a key/value pair in the JSONObject.JSONObject
JSONObject. put(java.lang.String key, java.util.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(java.lang.String key, java.util.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. putOpt(java.lang.String key, java.lang.Object value)
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.JSONObject
JSONArray. toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.Constructors in org.codehaus.jettison.json with parameters of type JSONObject Constructor Description JSONObject(JSONObject jo, java.lang.String[] sa)
Construct a JSONObject from a subset of another JSONObject. -
Uses of JSONObject in org.codehaus.jettison.mapped
Fields in org.codehaus.jettison.mapped declared as JSONObject Modifier and Type Field Description private JSONObject
MappedXMLStreamWriter.JSONPropertyObject. object
Methods in org.codehaus.jettison.mapped that return JSONObject Modifier and Type Method Description protected JSONObject
MappedXMLInputFactory. createJSONObject(JSONTokener tokener)
Methods in org.codehaus.jettison.mapped with parameters of type JSONObject Modifier and Type Method Description void
MappedNamespaceConvention. processAttributesAndNamespaces(Node n, JSONObject object)
protected void
MappedXMLStreamWriter. writeJSONObject(JSONObject root)
For clients who want to modify the output object before writing to override.Constructors in org.codehaus.jettison.mapped with parameters of type JSONObject Constructor Description JSONPropertyObject(java.lang.String key, java.lang.String parentKey, JSONObject object)
MappedXMLStreamReader(JSONObject obj)
MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con)
-