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

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.

[... snip ...]
>
>
> So, I ask again, is there a definition JSON somewhere around?

Yes,  http://www.ietf.org/rfc/rfc4627.txt  it is "just" a grammar. The
mapping of JSON into the object model of the parsers language is not
specified.

>From section 2.2:

The names within an object SHOULD be unique.

While it does say SHOULD, but it is in reality a MUST.

--Gavin

Received on Thursday, 24 March 2011 15:53:58 UTC