On 9.12.11 11:51, Julian Reschke wrote:
*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.

Right, I wasn't too serious about this. I'd rather go with the explicit specification of the order as you proposed.

Michael

Reply via email to