JS Data Structures - array and "object" (key/value pair)
JSON - JavaScript Object Notation
JS array Example:
['Autumn', 'Winter', 'Spring', 'Summer']
JS object Examples:
Simple "name/value" pairs:
{
"lastName" : "Bacow",
"firstName" : "Lawrence",
"email" : "president@harvard.edu"
}
"name/value" pairs, with values being an array (list) of things:
{
"apples" : [
"Granny Smith",
"Macoun",
"Empire",
"Honey Crisp",
"Albemarle Pippin"
],
"oranges" : [
"Naval Orange",
"Tangelo",
"Clementine",
"Valencia Orange"
]
}