This commit is contained in:
Douglas Crockford 2015-04-03 18:58:13 -07:00
parent 4982ffbecf
commit c07c287e39

6
README
View file

@ -4,7 +4,7 @@ JSON in JavaScript
Douglas Crockford
douglas@crockford.com
2010-11-18
2010-04-02
JSON is a light-weight, language independent, data interchange format.
@ -24,7 +24,9 @@ isn't already one, setting its value to an object containing a stringify
method and a parse method. The parse method uses the eval method to do the
parsing, guarding it with several regular expressions to defend against
accidental code execution hazards. On current browsers, this file does nothing,
prefering the built-in JSON object.
preferring the built-in JSON object. There is no reason to use this file unless
fate compels you to support IE8, which is something that no one should ever
have to do again.
json.js: This file does everything that json2.js does. It also adds a
toJSONString method and a parseJSON method to Object.prototype. Use of this