How do I convert a JSON string to a JavaScript object in jQuery?
JSON.parse(string) - parses a JSON string, reconstructing the original JavaScript object.
JSON.stringify(object) - accepts a JavaScript object and returns its JSON equivalent.
Thursday, August 22, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment