Example usage for Java com.google.gwt.core.client JsonUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
String | escapeJsonForEval(String toEscape) Escapes characters within a JSON string than cannot be passed directly to eval(). |
String | escapeValue(String toEscape) Returns a quoted, escaped JSON String. |
T | safeEval(String json) Evaluates a JSON expression safely. |
boolean | safeToEval(String text) Returns true if the given JSON string may be safely evaluated by eval() without undersired side effects or security risks. |
T | unsafeEval(String json) Evaluates a JSON expression using eval() . |