XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Multiple instances of an attribute Re: [xml-dev]Towards XML 2.0

> { "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@nag.co.uk> 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS