JSON, short for JavaScript Object Notation, is a language-independent data format that
has been accepted as an industry standard.
Because it is based on the JavaScript programming language, JSON’s syntax looks similar to a
JavaScript object with minor differences.
Here is an example JSON object of a person named Kate, who is 30 years old,
and whose hobbies include reading, writing, cooking, and playing tennis:
{
"person": {
"name": "Kate",
"age": 30,
"hobbies": [ "reading", "writing", "cooking", "tennis" ]
}
}
Represented as a JavaScript object literal, the same information would appear as:
{
person: {
name: 'Kate',
age: 30,
hobbies: [ 'reading', 'writing', 'cooking', 'tennis' ]
}
}