Package | Description |
---|---|
com.google.gwt.json.client |
Classes for parsing and creating JSON encoded values.
|
Modifier and Type | Class and Description |
---|---|
class |
JSONArray
Represents an array of
JSONValue objects. |
class |
JSONBoolean
Represents a JSON boolean value.
|
class |
JSONNull
Represents the JSON
null value. |
class |
JSONNumber
Represents a JSON number.
|
class |
JSONObject
Represents a JSON object.
|
class |
JSONString
Represents a JSON string.
|
Modifier and Type | Method and Description |
---|---|
JSONValue |
JSONArray.get(int index)
Returns the value at the specified index position.
|
JSONValue |
JSONObject.get(java.lang.String key)
Gets the JSONValue associated with the specified property.
|
static JSONValue |
JSONParser.parse(java.lang.String jsonString)
Deprecated.
|
static JSONValue |
JSONParser.parseLenient(java.lang.String jsonString)
Deprecated.
|
static JSONValue |
JSONParser.parseStrict(java.lang.String jsonString)
Evaluates a JSON string and returns its JSONValue representation.
|
JSONValue |
JSONObject.put(java.lang.String key,
JSONValue jsonValue)
Assign the specified property to the specified value in this JSONObject.
|
JSONValue |
JSONArray.set(int index,
JSONValue value)
Sets the specified index to the given value.
|
Modifier and Type | Method and Description |
---|---|
JSONValue |
JSONObject.put(java.lang.String key,
JSONValue jsonValue)
Assign the specified property to the specified value in this JSONObject.
|
JSONValue |
JSONArray.set(int index,
JSONValue value)
Sets the specified index to the given value.
|