Example usage for Java com.google.gwt.json.client JSONArray fields, constructors, methods, implement or subclass
The text is from its open source code.
JSONArray() Creates an empty JSONArray. | |
JSONArray(JavaScriptObject arr) Creates a new JSONArray from the supplied JavaScriptObject representing a JavaScript array. |
JSONValue | get(int index) Returns the value at the specified index position. |
JavaScriptObject | getJavaScriptObject() Returns the underlying JavaScript array that this object wraps. |
JSONArray | isArray() Returns this , as this is a JSONArray. |
JSONValue | set(int index, JSONValue value) Sets the specified index to the given value. |
int | size() Returns the number of elements in this array. |
String | toString() Create the JSON encoded string representation of this JSONArray instance. |