JSON in Javascript: crossbrowser JSON.stringify() and JSON.parse()

http://www.json.org/js.html

JSON.stringify(myObject) - converting JavaScript data structures into JSON text
JSON.parse(myJSONtext) - converting JSON text into JavaScript data structures

cross-browser script
https://github.com/douglascrockford/JSON-js


No comments:

Post a Comment