jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: [Jackrabbit Wiki] Update of "Jsop" by ThomasMueller
Date Fri, 09 Dec 2011 11:51:44 GMT
On 2011-12-09 12:32, Michael Dürig wrote:
>
>
> 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": {}}]}
>
> ? ;-)

Cute, but will make JSON Pointers complicated - so we would trade a 
usable pointer notation for a more compact object representation.

Best regards, Julian

Mime
View raw message