jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: [Jackrabbit Wiki] Update of "Jsop" by ThomasMueller
Date Fri, 09 Dec 2011 11:32:28 GMT


On 9.12.11 11:23, Thomas Mueller wrote:
> Hi,
>
>> if this is supposed to be a generic format for use outside
>> Jackrabbit. But I'm starting to believe it's not.
>
>> *If* we want to support ordered collections, than the JSON mapping
>> should contain additional information on the sort order of the members.
>> Like this:
>>
>> {"a": {}, "b": {}, "c": {}, "{somejcrrelateduri}sortorder": [ "a", "b",
>> "c" ] }
>
> -1 that's too weird for me. Also, duplicating data is always problematic.

What about

{[{"a": {}}, {"b": {}}, {"c": {}}]}

? ;-)

Michael

Mime
View raw message