JavaScript Object Notation, i.e., JSON, is an open standard format that uses human-readable text to transmit data objects consisting of key–value pairs.
Here is an example:
{
"lastName": "Redlich",
"firstName: "Michael",
"address":
{
"streetAddress": "123 Anywhere Street",
"city": "Flemington"
},
"state": "New Jersey",
"phoneNumber":
[{
"type": "home",
"number": "(908) 000-0000"
},
{
"type": "cell",
"number": "(908) 000-0000"
}]
}
JSON is used in a wide variety of applications so processing is, of course, a necessity.
We will review three applications for processing JSON:
|