summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Neth <foxdie@gmail.com>2015-10-15 15:21:52 -0500
committerMichael Neth <foxdie@gmail.com>2015-10-15 15:21:52 -0500
commitb4a125877fc0876890be4ac8e3877a5eaa57850f (patch)
tree0f364755242f0d213330ae1ce0752ba53d7354be
parent66bc42e31bf62a1592f9b763e12c0b963b3e7d3d (diff)
Clarified some of the intro text
Clarified the terminology of a "JSON value" and its limited set of options. Clarified that Supporting Browsers are from the shown version and up. Clarified that ".json" is the standard "file extension".
-rw-r--r--json.html.markdown8
1 files changed, 5 insertions, 3 deletions
diff --git a/json.html.markdown b/json.html.markdown
index 060e9c3d..260221bf 100644
--- a/json.html.markdown
+++ b/json.html.markdown
@@ -17,9 +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"
+A JSON value must be a number, a string, an array, an object, or one of the following 3 literal names: true, false, null.
+
+Supporting browsers are: Firefox 3.5+, Internet Explorer 8+, Chrome, Opera 10+, and Safari 4+.
+File extension for JSON files is ".json" and the MIME type for JSON text is "application/json".
+
Drawbacks of JSON include lack of type definition and some sort of DTD.
```json