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

Reply via email to