JSON




JSON (JavaScript Object Notation) is built on two structures:

  • A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.
  • An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.
object
    {}
    { members }

members
    pair
    pair , members

pair
    string : value

array
    []
    [ elements ]

elements
    value 
    value , elements

value
    string
    number
    object
    array
    true
    false
    null

http://json.org/