mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Fixed typo.
This commit is contained in:
parent
76e5f436df
commit
58fa4274a8
@ -6,6 +6,7 @@ contributors:
|
||||
- ["Marco Scannadinari", "https://github.com/marcoms"]
|
||||
- ["himanshu", "https://github.com/himanshu81494"]
|
||||
- ["Michael Neth", "https://github.com/infernocloud"]
|
||||
- ["Athanasios Emmanouilidis", "https://github.com/athanasiosem"]
|
||||
---
|
||||
|
||||
JSON is an extremely simple data-interchange format. As [json.org](http://json.org) says, it is easy for humans to read and write and for machines to parse and generate.
|
||||
@ -14,7 +15,6 @@ A piece of JSON must represent either:
|
||||
|
||||
* 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 various languages, this is realized as an array, vector, list, or sequence.
|
||||
an array/list/sequence (`[ ]`) or a dictionary/object/associated array (`{ }`).
|
||||
|
||||
JSON in its purest form has no actual comments, but most parsers will accept C-style (`//`, `/* */`) comments. Some parsers also tolerate a trailing comma (i.e. a comma after the last element of an array or the after the last property of an object), but they should be avoided for better compatibility.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user