summaryrefslogtreecommitdiffhomepage
path: root/json.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2015-10-12 23:14:27 -0500
committerLevi Bostian <levi.bostian@gmail.com>2015-10-12 23:14:27 -0500
commit841f4c3d4628e75e5d8f62adb285b4d6b8336fba (patch)
treec7c32eefadfcd29a23dbe925f90ebae0f7b15aff /json.html.markdown
parent3c45696a6223100e6831e640814fdbc13dc3fcb1 (diff)
parentc899b6605ef9667cb214c2163e7182ad41783be4 (diff)
Merge pull request #1399 from himanshu81494/master
example function added for call by reference
Diffstat (limited to 'json.html.markdown')
-rw-r--r--json.html.markdown6
1 files changed, 6 insertions, 0 deletions
diff --git a/json.html.markdown b/json.html.markdown
index a1629137..b5e36090 100644
--- a/json.html.markdown
+++ b/json.html.markdown
@@ -4,6 +4,7 @@ filename: learnjson.json
contributors:
- ["Anna Harren", "https://github.com/iirelu"]
- ["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
@@ -16,6 +17,11 @@ but they should be avoided for better compatibility.
For the purposes of this, however, everything is 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
{
"key": "value",