Uses of Class
org.codehaus.groovy.grails.web.json.JSONObject

Packages that use JSONObject
org.codehaus.groovy.grails.web.json   
 

Uses of JSONObject in org.codehaus.groovy.grails.web.json
 

Methods in org.codehaus.groovy.grails.web.json that return JSONObject
 JSONObject JSONObject.accumulate(String key, Object value)
          Accumulate values under a key.
 JSONObject JSONArray.getJSONObject(int index)
          Get the JSONObject associated with an index.
 JSONObject JSONObject.getJSONObject(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(String key)
          Get an optional JSONObject associated with a key.
 JSONObject JSONObject.put(String key, boolean value)
          Put a key/boolean pair in the JSONObject.
 JSONObject JSONObject.put(String key, double value)
          Put a key/double pair in the JSONObject.
 JSONObject JSONObject.put(String key, int value)
          Put a key/int pair in the JSONObject.
 JSONObject JSONObject.put(String key, long value)
          Put a key/long pair in the JSONObject.
 JSONObject JSONObject.put(String key, Object value)
          Put a key/value pair in the JSONObject.
 JSONObject JSONObject.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.
 JSONObject JSONArray.toJSONObject(JSONArray names)
          Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
 

Constructors in org.codehaus.groovy.grails.web.json with parameters of type JSONObject
JSONObject(JSONObject jo, String[] sa)
          Construct a JSONObject from a subset of another JSONObject.
 



Copyright (c) 2005-2009 The Grails project