json object composition details

Posted by Ethan on Stack Overflow See other posts from Stack Overflow or by Ethan
Published on 2010-06-04T02:42:00Z Indexed on 2010/06/06 23:22 UTC
Read the original article Hit count: 272

Filed under:
|
|

in .json text, is the 'value' in a basic single pair object the title of a value type (e.g. [string, number, object]), or a value for a typed object (e.g. 2, or "dog", or Object3)?

This is how http://www.json.org/ presents the information:

"An object is an unordered set of name/value pairs. An object begins with { (left brace) and ends with } (right brace). Each name is followed by : (colon) and the name/value pairs are separated by , (comma)."

alt text

© Stack Overflow or respective owner

Related posts about JSON

Related posts about syntax