- From: Peter Frederick Patel-Schneider <pfps@research.bell-labs.com>
- Date: Thu, 24 Mar 2011 07:39:33 -0400
- To: <public-rdf-wg@w3.org>
From: Nathan <nathan@webr3.org>
Subject: Re: [JSON] What *is* JSON?
Date: Wed, 23 Mar 2011 15:27:54 -0500
> Peter Frederick Patel-Schneider wrote:
>> According to http://www.json.org/
>>
>> { "foo" : 3 ,
>> "foo" : 1 ,
>> "foo" : 4 ,
>> "foo" : 5 ,
>> "foo" : 9
>> }
>>
>> is valid JSON.
>>
>> Is this correct?
>
> Sadly that's valid JSON, but when JSON.parse'd it would produce an
> object as such:
>
> {
> foo: 9
> }
>
> Since the keys of an object have to be unique.
Again, I don't see this specified anywhere.
peter
Received on Thursday, 24 March 2011 11:40:14 UTC