What does JavaScript’s JSON object do to JSON data and what does it convert a JavaScript object into? code example
Example 1: Javascript object to JSON string
var person={"first_name":"Tony","last_name":"Hawk","age":31};
var personJSONString=JSON.stringify(person);
Example 2: how to convert json to javascript object
local storage JSON.parse