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(String key)
Gets the JSONValue associated with the specified property.
|
static JSONValue |
JSONParser.parse(String jsonString)
Deprecated.
|
static JSONValue |
JSONParser.parseLenient(String jsonString)
Evaluates a trusted JSON string and returns its JSONValue representation.
|
static JSONValue |
JSONParser.parseStrict(String jsonString)
Evaluates a JSON string and returns its JSONValue representation.
|
JSONValue |
JSONObject.put(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(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.
|
Copyright © 2016. All rights reserved.