java.lang.Object | ||
↳ | com.google.gwt.json.client.JSONValue | |
↳ | com.google.gwt.json.client.JSONString |
Represents a JSON string.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new JSONString from the supplied String.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns
this , as this is a JSONString. | |||||||||||
Returns the raw Java string value of this item.
| |||||||||||
Returns the JSON formatted value of this string, quoted for evaluating in a
JavaScript interpreter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.json.client.JSONValue
| |||||||||||
From class
java.lang.Object
|
Creates a new JSONString from the supplied String.
value | a String value |
---|
NullPointerException | if value is null
|
---|
Returns this
, as this is a JSONString.
null
otherwise.
Returns the JSON formatted value of this string, quoted for evaluating in a JavaScript interpreter.