mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 15:24:09 +03:00
Update json.html.markdown
This commit is contained in:
parent
e8248af134
commit
617599a527
@ -4,6 +4,7 @@ filename: learnjson.json
|
|||||||
contributors:
|
contributors:
|
||||||
- ["Anna Harren", "https://github.com/iirelu"]
|
- ["Anna Harren", "https://github.com/iirelu"]
|
||||||
- ["Marco Scannadinari", "https://github.com/marcoms"]
|
- ["Marco Scannadinari", "https://github.com/marcoms"]
|
||||||
|
- ["himanshu", "https://github.com/himanshu81494"]
|
||||||
---
|
---
|
||||||
|
|
||||||
As JSON is an extremely simple data-interchange format, this is most likely going
|
As JSON is an extremely simple data-interchange format, this is most likely going
|
||||||
@ -13,6 +14,11 @@ JSON in its purest form has no actual comments, but most parsers will accept
|
|||||||
C-style (`//`, `/* */`) comments. For the purposes of this, however, everything is
|
C-style (`//`, `/* */`) comments. For the purposes of this, however, everything is
|
||||||
going to be 100% valid JSON. Luckily, it kind of speaks for itself.
|
going to be 100% valid JSON. Luckily, it kind of speaks for itself.
|
||||||
|
|
||||||
|
Data types supported by JSON includes: numbers, string, boolean, array, object and null.
|
||||||
|
Supporting browsers are: Firefox(Mozilla) 3.5, Internet Explorer 8, Chrome, Opera 10, Safari 4.
|
||||||
|
JSON file type for JSON files is ".json". The MIME type for JSON text is "application/json"
|
||||||
|
Drawbacks of JSON include lack of type definition and some sort of DTD.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"key": "value",
|
"key": "value",
|
||||||
|
Loading…
Reference in New Issue
Block a user