블로그
- [JSON]parse() : browser receive data from Web Server with Object Parse the data with JSON.parse(), and the data becomes a JavaScript object. ":"New York"}'Use the JavaScript function JSON.parse() to convert text into a JavaScript object: var
- [JSON]stringify() : browser sends data to Web Server with String Stringify a JavaScript ObjectImagine we have this object in JavaScript: var obj = { "name":"John", "age ":30, "city":"New York"};Use the JavaScript function JSON.stringify() to convert it into a string. var