WORKING WITHJSON-BASED DATA
A JSON object consists of data represented as colon-separated name/value pairs and data objects are separated by commas. An object is specified inside curly braces {}, and an array of objects is indicated by square brackets []. Note that character-valued data elements are inside a pair of double quotes "" (but no quotes for numeric data).
Here is a simple example of a JSON object:
{ "fname":"Jane", "lname":"Smith", "age":33, "city":"SF" }
Here is a simple example of an array of JSON objects (note the outer enclosing square brackets):
[
{ "fname":"Jane", "lname":"Smith", "age":33, "city":"SF" },
{ "fname":"John", "lname":"Jones", "age":34, "city":"LA" },
{ "fname":"Dave", "lname":"Stone", "age"...