Uses of Class
org.codehaus.jettison.json.JSONObject
Packages that use JSONObject
Package
Description
-
Uses of JSONObject in org.codehaus.jettison
Fields in org.codehaus.jettison declared as JSONObjectMethods in org.codehaus.jettison that return JSONObjectMethods in org.codehaus.jettison with parameters of type JSONObjectModifier and TypeMethodDescriptionvoid
Convention.processAttributesAndNamespaces
(Node n, JSONObject object) void
Node.setObject
(JSONObject object) Constructors in org.codehaus.jettison with parameters of type JSONObjectModifierConstructorDescriptionNode
(JSONObject object) Node
(Node parent, String name, JSONObject object, Convention con) -
Uses of JSONObject in org.codehaus.jettison.badgerfish
Fields in org.codehaus.jettison.badgerfish declared as JSONObjectModifier and TypeFieldDescriptionprivate JSONObject
BadgerFishXMLStreamWriter.currentNode
private JSONObject
BadgerFishXMLStreamWriter.root
Methods in org.codehaus.jettison.badgerfish that return JSONObjectModifier and TypeMethodDescriptionprotected JSONObject
BadgerFishXMLStreamWriter.getCurrentNode()
Methods in org.codehaus.jettison.badgerfish with parameters of type JSONObjectModifier and TypeMethodDescriptionvoid
BadgerFishConvention.processAttributesAndNamespaces
(Node n, JSONObject object) Constructors in org.codehaus.jettison.badgerfish with parameters of type JSONObjectModifierConstructorDescriptionBadgerFishXMLStreamWriter
(Writer writer, JSONObject currentNode) BadgerFishXMLStreamWriter
(Writer writer, JSONObject currentNode, FastStack nodes) -
Uses of JSONObject in org.codehaus.jettison.json
Methods in org.codehaus.jettison.json that return JSONObjectModifier and TypeMethodDescriptionJSONObject.accumulate
(String key, Object value) Accumulate values under a key.Append values to the array under a key.protected JSONObject
JSONArray.getJSONObject
(int index) Get the JSONObject associated with an index.JSONObject.getJSONObject
(String key) Get the JSONObject value associated with a key.protected JSONObject
JSONTokener.newJSONObject()
JSONArray.optJSONObject
(int index) Get the optional JSONObject associated with an index.JSONObject.optJSONObject
(String key) Get an optional JSONObject associated with a key.Put a key/boolean pair in the JSONObject.Put a key/double pair in the JSONObject.Put a key/int pair in the JSONObject.Put a key/long pair in the JSONObject.Put a key/value pair in the 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.Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.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 JSONObjectModifierConstructorDescriptionJSONObject
(JSONObject jo, 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 JSONObjectModifier and TypeFieldDescriptionprivate JSONObject
MappedXMLStreamWriter.JSONPropertyObject.object
Methods in org.codehaus.jettison.mapped that return JSONObjectModifier and TypeMethodDescriptionprotected JSONObject
MappedXMLInputFactory.createJSONObject
(JSONTokener tokener) Methods in org.codehaus.jettison.mapped with parameters of type JSONObjectModifier and TypeMethodDescriptionvoid
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 JSONObjectModifierConstructorDescriptionJSONPropertyObject
(String key, String parentKey, JSONObject object)