블로그
- [JSON]Introduction JSON is text, and we can convert any JavaScript object into JSON, and send JSON to the server. We can also convert any JSON received from the server into JavaScript objects.
- [JSON]stringify() : browser sends data to Web Server with String Convert a JavaScript object into a string with JSON.stringify(). ":30, "city":"New York"};Use the JavaScript function JSON.stringify() to convert it into a string. var
- [JSON]parse() : browser receive data from Web Server with Object Parse the data with JSON.parse(), and the data becomes a JavaScript object. function JSON.parse() to convert text into a JavaScript object: var obj = JSON.parse('{ "name":"John