Previous topic
Node.js turorial 1 : Node.js install on windows
Node.js tutorial 2 - Visual studio community 2015 for Node.js
Node.js tutorial 4 - Run Node.js in visual studio 2015Node.js tutorial 2 - Visual studio community 2015 for Node.js
JSON is
the most popular data expression structure for networking. It's simple text and
human-readable text.
JSON
specification is described in ECMA-404. you can easily find it in here
The
specification also very simple, the real contents are in only 5 pages.
Here's
one of the example JSON data. I'm copied from Wiki page. For more
information, please visit JSON
wiki page
Not only
the machine which treat this data but also you can read it and understand the
meaning of data.
{
"firstName": "John",
"lastName": "Smith",
"isAlive": true,
"age": 25,
"address": {
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": "10021-3100"
},
"phoneNumbers": [
{
"type": "home",
"number": "212 555-1234"
},
{
"type": "office",
"number": "646 555-4567"
},
{
"type": "mobile",
"number": "123 456-7890"
}
],
"children": [],
"spouse": null
}
"firstName": "John",
"lastName": "Smith",
"isAlive": true,
"age": 25,
"address": {
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": "10021-3100"
},
"phoneNumbers": [
{
"type": "home",
"number": "212 555-1234"
},
{
"type": "office",
"number": "646 555-4567"
},
{
"type": "mobile",
"number": "123 456-7890"
}
],
"children": [],
"spouse": null
}
No comments:
Post a Comment