블로그
- [JSON]parse() : browser receive data from Web Server with Object Example - Parsing JSONImagine we received this text from a web server: '{ "name":"John", "age":30, "city ":"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 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 myJSON =