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
Methods in org.codehaus.jettison that return JSONObject Modifier and Type Method Description JSONObjectNode. getObject()Methods in org.codehaus.jettison with parameters of type JSONObject Modifier and Type Method Description voidConvention. processAttributesAndNamespaces(Node n, JSONObject object)voidNode. setObject(JSONObject object)Constructors in org.codehaus.jettison with parameters of type JSONObject Constructor Description Node(JSONObject object)Node(Node parent, String name, JSONObject object, Convention con) -
Uses of JSONObject in org.codehaus.jettison.badgerfish
Methods in org.codehaus.jettison.badgerfish that return JSONObject Modifier and Type Method Description protected JSONObjectBadgerFishXMLStreamWriter. getCurrentNode()Methods in org.codehaus.jettison.badgerfish with parameters of type JSONObject Modifier and Type Method Description voidBadgerFishConvention. processAttributesAndNamespaces(Node n, JSONObject object)Constructors in org.codehaus.jettison.badgerfish with parameters of type JSONObject Constructor Description BadgerFishXMLStreamReader(JSONObject obj)BadgerFishXMLStreamWriter(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 JSONObject Modifier and Type Method Description JSONObjectJSONObject. accumulate(String key, Object value)Accumulate values under a key.JSONObjectJSONObject. append(String key, Object value)Append values to the array under a key.protected JSONObjectJSONObject. doPut(String key, Object value, int threshold, boolean checkExistingValue)JSONObjectJSONArray. getJSONObject(int index)Get the JSONObject associated with an index.JSONObjectJSONObject. getJSONObject(String key)Get the JSONObject value associated with a key.protected JSONObjectJSONTokener. newJSONObject()JSONObjectJSONArray. optJSONObject(int index)Get the optional JSONObject associated with an index.JSONObjectJSONObject. optJSONObject(String key)Get an optional JSONObject associated with a key.JSONObjectJSONObject. put(String key, boolean value)Put a key/boolean pair in the JSONObject.JSONObjectJSONObject. put(String key, double value)Put a key/double pair in the JSONObject.JSONObjectJSONObject. put(String key, int value)Put a key/int pair in the JSONObject.JSONObjectJSONObject. put(String key, long value)Put a key/long pair in the JSONObject.JSONObjectJSONObject. put(String key, Object value)Put a key/value pair in the JSONObject.JSONObjectJSONObject. 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.JSONObjectJSONObject. 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.JSONObjectJSONObject. 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.JSONObjectJSONArray. 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, String[] sa)Construct a JSONObject from a subset of another JSONObject. -
Uses of JSONObject in org.codehaus.jettison.mapped
Methods in org.codehaus.jettison.mapped that return JSONObject Modifier and Type Method Description protected JSONObjectMappedXMLInputFactory. createJSONObject(JSONTokener tokener)Methods in org.codehaus.jettison.mapped with parameters of type JSONObject Modifier and Type Method Description voidMappedNamespaceConvention. processAttributesAndNamespaces(Node n, JSONObject object)protected voidMappedXMLStreamWriter. 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 MappedXMLStreamReader(JSONObject obj)MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con)
-