Uses of Class
org.apache.sling.commons.json.JSONObject

Packages that use JSONObject
org.apache.sling.commons.json   
org.apache.sling.commons.json.http   
org.apache.sling.commons.json.jcr   
org.apache.sling.commons.json.util   
org.apache.sling.commons.json.xml   
 

Uses of JSONObject in org.apache.sling.commons.json
 

Methods in org.apache.sling.commons.json that return JSONObject
 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.
 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.
 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, 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, 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.util.Map<java.lang.String,?> 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(java.lang.String key, java.lang.Object value)
          Put a key/value pair in the JSONObject.
 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.apache.sling.commons.json with parameters of type JSONObject
JSONObject(JSONObject jo, java.lang.String[] sa)
          Construct a JSONObject from a subset of another JSONObject.
 

Uses of JSONObject in org.apache.sling.commons.json.http
 

Methods in org.apache.sling.commons.json.http that return JSONObject
static JSONObject HTTP.toJSONObject(java.lang.String string)
          Convert an HTTP header string into a JSONObject.
static JSONObject CookieList.toJSONObject(java.lang.String string)
          Convert a cookie list into a JSONObject.
static JSONObject Cookie.toJSONObject(java.lang.String string)
          Convert a cookie specification string into a JSONObject.
 

Methods in org.apache.sling.commons.json.http with parameters of type JSONObject
static java.lang.String HTTP.toString(JSONObject o)
          Convert a JSONObject into an HTTP header.
static java.lang.String CookieList.toString(JSONObject o)
          Convert a JSONObject into a cookie list.
static java.lang.String Cookie.toString(JSONObject o)
          Convert a JSONObject into a cookie specification string.
 

Uses of JSONObject in org.apache.sling.commons.json.jcr
 

Subclasses of JSONObject in org.apache.sling.commons.json.jcr
 class JsonJcrNode
          This class makes it easy to create a JSON object out of a JCR node.
 

Uses of JSONObject in org.apache.sling.commons.json.util
 

Methods in org.apache.sling.commons.json.util that return JSONObject
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.
 

Uses of JSONObject in org.apache.sling.commons.json.xml
 

Methods in org.apache.sling.commons.json.xml that return JSONObject
static JSONObject XML.toJSONObject(java.lang.String string)
          Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
 



Copyright © 2007-2009. All Rights Reserved.