JSON data is written as name/value pairs.
A name/value pair consists of a field name (in double quotes), followed by a colon, followed by a value:
JSON values can be:
JSON objects are written inside curly braces.
JSON arrays are written inside square brackets.
In the example above, the object "employees" is an array containing three objects. Each object is a record of a person (with a first name and a last name).
It can also be accessed like this:
Data can be modified like this:
It can also be modified like this: