Example usage for Java com.google.gwt.json.client JSONObject fields, constructors, methods, implement or subclass
The text is from its open source code.
JSONObject() | |
JSONObject(JavaScriptObject jsValue) Creates a new JSONObject from the supplied JavaScript value. |
boolean | containsKey(String key) Tests whether or not this JSONObject contains the specified property. |
JSONValue | get(String key) Gets the JSONValue associated with the specified property. |
JavaScriptObject | getJavaScriptObject() Returns the underlying JavaScript object that this object wraps. |
JSONObject | isObject() Returns this , as this is a JSONObject. |
Set | keySet() Returns the set of properties defined on this JSONObject. |
JSONValue | put(String key, JSONValue jsonValue) Assign the specified property to the specified value in this JSONObject. |
int | size() Determines the number of properties on this object. |
String | toString() Converts a JSONObject into a JSON representation that can be used to communicate with a JSON service. |