[Home] [By Thread] [By Date] [Recent Entries]
> { "foo" : "bar" , "foo" : "spam" }
>
> Is legal JSON ?
But the array
{ "foo": ["bar", "spam"] }
amounts to the same thing doesn't it?
----
Stephen D Green
On 9 December 2010 14:46, David Carlisle <davidc@n...> wrote:
> On 09/12/2010 14:40, David Lee wrote:
>>
>> JSON allows object members of the same name ? that's news to me
>>
>> { "foo" : "bar" , "foo" : "spam" }
>>
>> Is legal JSON ?
>>
>>
>
> http://www.ietf.org/rfc/rfc4627.txt
>
> The names within an object SHOULD be unique.
>
>
> David
>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



