W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

Re: [JSON] I say again, what *is* JSON?

From: Nathan <nathan@webr3.org>
Date: Thu, 24 Mar 2011 16:36:50 +0000
Message-ID: <4D8B7322.1040103@webr3.org>
To: Peter Frederick Patel-Schneider <pfps@research.bell-labs.com>
CC: Gavin Carothers <gavin@topquadrant.com>, public-rdf-wg@w3.org
Gavin Carothers wrote:
> On Thu, Mar 24, 2011 at 7:35 AM, Peter Frederick Patel-Schneider
> <pfps@research.bell-labs.com> wrote:
>> Hmm.
>>
>> Is this really the JSON spec?
> 
> No.

This was referring to the ECMAScript-262 specification [1].

No it's not the JSON specification, however it is closely related, "JSON 
is a subset of the object literal notation of JavaScript" [2], and was 
developed when ECMAScript-262 was in it's Third Edition. ECMAScript-262 
is now in it's Fifth Edition, and includes JSON.

To all extents and purposes, the JSON people use, and the environment 
they often use it in, is defined by the ECMAScript-262 Fifth Edition I 
referred you to.

For practical usage, and when discussing, it's good to be familiar with 
the ECMAScript-262 Fifth Edition and what it says about JSON, the 
parsing and stringification of it, and how it maps to ECMAScript-262 
"Objects".

Hope that clarifies.

[1] 
http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf
[2] http://www.json.org/js.html
Received on Thursday, 24 March 2011 16:37:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:04 UTC