Hi, On Tue, Apr 19, 2016 at 6:11 PM, Nicolas Peltier <npelt...@adobe.com> wrote: > json objects’ key values are not ordered, so does that mean there is no choice > but to use xml to POST ordered structure?...
Could you use arrays instead of objects in your POST requests to keep ordering? I don't remember how our default POST servlet or content loader handle that so you might need to experiment. Similarly, our json GET servlet [1] uses an .harray selector to switch to arrays instead of objects to keep ordering. -Bertrand [1] https://sling.apache.org/documentation/bundles/rendering-content-default-get-servlets.html#default-json-rendering