Package: | Ext.util |
Defined In: | JSON.js |
Class: | JSON |
Extends: | Object |
Method | Defined By | |
---|---|---|
decode( String json )
:
ObjectDecodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError unless the sa... Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError unless the safe option is set. Parameters:
| JSON | |
encode( Mixed o )
:
StringEncodes an Object, Array or other value Encodes an Object, Array or other value Parameters:
| JSON |