You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2018/11/11 09:44:00 UTC

[jira] [Resolved] (SLING-2158) JsonSerialization: Add new ":order" JSON array to transport child node ordering when needed

     [ https://issues.apache.org/jira/browse/SLING-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-2158.
-------------------------------------
    Resolution: Won't Fix

> JsonSerialization: Add new ":order" JSON array to transport child node ordering when needed
> -------------------------------------------------------------------------------------------
>
>                 Key: SLING-2158
>                 URL: https://issues.apache.org/jira/browse/SLING-2158
>             Project: Sling
>          Issue Type: New Feature
>          Components: Servlets
>            Reporter: Tobias Bocanegra
>            Priority: Minor
>
> as discussed in:
> http://mail-archives.apache.org/mod_mbox/sling-dev/201104.mbox/%3CBANLkTimaU-CV5fHYYrX-z5Ktn4afMFqw9A@mail.gmail.com%3E
> i suggest to add a new array property containing the child node names to the default JSON renderer if 'requested' with an 'order' selector.
> i would include the child node names also on the end of the depth limit. this allows to get the child node names without the need to load them with a deeper request:
> eg:
> GET /content/en.0.order.json would return:
> {
> "title": "Hello, world",
> ":oder": ["sub1", "sub2"]
> }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)