JSON (JavaScript Object Notation)作为一种轻量级数据格式,目前已经被广泛的使用。Douglas Crockford在2001年发现并命名了JSON,但是据他自己说,JSON很早就存在,自己只是发现了它而已。2002年Crockford通过[url=http://json.org/]json.org[/url]公开JSON的具体定义。当时正是XML盛行的年代,但到现在更轻量级、容易解析的JSON已经超越XML被大家广泛使用。
作为标准化组织的ECMA International这次也公开了JSON的定义[url=http://www.ecma-international.org/publications/standards/Ecma-404.htm]ECMA-404[/url]。Crockford也通过Google+发布了这一消息。
[img]http://dl2.iteye.com/upload/attachment/0090/1878/c57e3962-b936-323c-b221-8bc5c05e0c99.png[/img]
到目前为止关于JSON共有4个公开的定义:
[list]
[*][url=http://json.org/]json.org[/url]
[*][url=http://www.ietf.org/rfc/rfc4627.txt]IETF RFC 4627[/url]
[*][url=http://www.ecma-international.org/ecma-262/5.1/#sec-5.1.5]ECMAScript 5.1 - Section 5.1.5 The JSON Grammar[/url]
[*][url=http://www.ecma-international.org/publications/standards/Ecma-404.htm]ECMA-404[/url]
[/list]
制定过XML规范的Tim Bray在今年9月份发布了一篇博客“[url=http://www.tbray.org/ongoing/When/201x/2013/09/18/Editing-JSON]Editing JSON[/url]”抱怨过JSON的标准:
[quote]What I hadn’t realized was that there actually isn’t a standalone anything you can link to and say “This is the JSON spec”; RFC 4627 is just a mime-type registration.[/quote]
Bray认为RFC 4627关于JSON的定义存在明显的问题:
[quote]What the WG can do is fix a couple of errata, document where the stupid things that 4627 allows can lead to breakage, and turn it into a spec, not just a registration doc.[/quote]
作为标准化组织的ECMA International这次也公开了JSON的定义[url=http://www.ecma-international.org/publications/standards/Ecma-404.htm]ECMA-404[/url]。Crockford也通过Google+发布了这一消息。
[img]http://dl2.iteye.com/upload/attachment/0090/1878/c57e3962-b936-323c-b221-8bc5c05e0c99.png[/img]
到目前为止关于JSON共有4个公开的定义:
[list]
[*][url=http://json.org/]json.org[/url]
[*][url=http://www.ietf.org/rfc/rfc4627.txt]IETF RFC 4627[/url]
[*][url=http://www.ecma-international.org/ecma-262/5.1/#sec-5.1.5]ECMAScript 5.1 - Section 5.1.5 The JSON Grammar[/url]
[*][url=http://www.ecma-international.org/publications/standards/Ecma-404.htm]ECMA-404[/url]
[/list]
制定过XML规范的Tim Bray在今年9月份发布了一篇博客“[url=http://www.tbray.org/ongoing/When/201x/2013/09/18/Editing-JSON]Editing JSON[/url]”抱怨过JSON的标准:
[quote]What I hadn’t realized was that there actually isn’t a standalone anything you can link to and say “This is the JSON spec”; RFC 4627 is just a mime-type registration.[/quote]
Bray认为RFC 4627关于JSON的定义存在明显的问题:
[quote]What the WG can do is fix a couple of errata, document where the stupid things that 4627 allows can lead to breakage, and turn it into a spec, not just a registration doc.[/quote]