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

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