mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-10-05 09:08:02 +03:00
Added a more info link and extra explanation
Added link to json.org Included information about using JSON text as data.
This commit is contained in:
parent
af1465d02f
commit
76b8a3a36e
@ -20,10 +20,16 @@ Supporting browsers are: Firefox 3.5+, Internet Explorer 8.0+, Chrome 1.0+, Oper
|
|||||||
|
|
||||||
File extension for JSON files is ".json" and the MIME type for JSON text is "application/json".
|
File extension for JSON files is ".json" and the MIME type for JSON text is "application/json".
|
||||||
|
|
||||||
|
Many programming languages have support for serializing (encoding) and unserializing (decoding) JSON data into native data structures. Javascript has implicit support for manipulating JSON text as data.
|
||||||
|
|
||||||
|
More information can be found at http://www.json.org/
|
||||||
|
|
||||||
JSON is built on two structures:
|
JSON 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.
|
* 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.
|
* An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.
|
||||||
|
|
||||||
|
An object with various name/value pairs.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"key": "value",
|
"key": "value",
|
||||||
|
Loading…
Reference in New Issue
Block a user