http://jsbin.com/tidob/1/edit?js,console,output
The native JSON object includes two key methods.
1. JSON.parse()
2. JSON.stringify()
The JSON.parse()
method parses a JSON string - i.e. reconstructing the original JavaScript object
var jsObject = JSON.parse(jsonString);
JSON.stringify() method accepts a JavaScript object and returns its JSON equivalent.
var jsonString = JSON.stringify(jsObject);