/* JavaScript Object Notation(JSON) is a standard format
* For representing structured data as JavaScript objects
* For representing and transmitting data on web sites(i.e.sending some data from the server to the client, so it can be displayed on a web page).
* JSON is a data format following JavaScript object syntax developed by Douglas Crockford and uses double quotes.
* JSON can exist as an object, or a string— the former is used when you want to read data out of the JSON, and the latter is used when you want to send the JSON across the network.
* A JSON object can be stored in its own file, which is basically just a text file with an extension of .json, and a MIME type of application/json.
*/
// JSON structure
var data = {
"squadName": "Super hero squad",
"homeTown": "Metro City",
"formed": 2016,
"secretBase": "Super tower",
"active": true,
"members": [{
"name": "Molecule Man",
"age": 29,
"secretIdentity": "Dan Jukes",
"powers": [
"Radiation resistance",
"Turning tiny",
"Radiation blast"
]
}, {
"name": "Madame Uppercut",
"age": 39,
"secretIdentity": "Jane Wilson",
"powers": [
"Million tonne punch",
"Damage resistance",
"Superhuman reflexes"
]
}, {
"name": "Eternal Flame",
"age": 1000000,
"secretIdentity": "Unknown",
"powers": [
"Immortality",
"Heat Immunity",
"Inferno",
"Teleportation",
"Interdimensional travel"
]
}]
};
// Source https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON