| java.lang.Object com.gwtext.client.util.JSON
JSON | public class JSON (Code) | | JSON Helper class.
|
Method Summary | |
native public static JavaScriptObject | decode(String json) Decodes (parses) a JSON string to an object. | native public static String | encode(JavaScriptObject json) Encodes a Json object. |
decode | native public static JavaScriptObject decode(String json)(Code) | | Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError.
Parameters: json - the Json String the Json object |
encode | native public static String encode(JavaScriptObject json)(Code) | | Encodes a Json object.
Parameters: json - the json object the JSon String |
|
|