[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
- From: Stephen Green <stephengreenubl@gmail.com>
- To: David Carlisle <davidc@nag.co.uk>
- Date: Thu, 9 Dec 2010 15:01:06 +0000
> { "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]