|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JsonUtils
public class JsonUtils
Provides JSON-related utility methods.
Method Summary | ||
---|---|---|
static java.lang.String |
escapeValue(java.lang.String toEscape)
Returns a quoted, escaped JSON String. |
|
static
|
unsafeEval(java.lang.String json)
Evaluates a JSON expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String escapeValue(java.lang.String toEscape)
public static <T extends JavaScriptObject> T unsafeEval(java.lang.String json)
T
- The type of JavaScriptObject that should be returnedjson
- The source JSON text
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |