Sunday 21 June 2015

JSON Format

Excerpts from JSON Tutorial

"JSON is a syntax for storing and exchanging data.
JSON is language independent."

==============================================================
Excerpts from JSON Syntax

"JSON syntax is part of JavaScript syntax:
  • Data is in name/value pairs
  • Data is separated by commas
  • Curly braces hold objects
  • Square brackets hold arrays
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:
  • A number (integer or floating point)
  • A string (in double quotes)
  • A Boolean (true or false)
  • An array (in square brackets)
  • An object (in curly braces)
  • null"

No comments:

Post a Comment