[
https://issues.apache.org/jira/browse/SLING-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra updated SLING-2158:
------------------------------------
Summary: JsonSerialization: Add new ":order" JSON array to transport child
node ordering when needed (was: JsonSerialization: Add new ":oder" JSON array
to transport child node ordering when needed)
> 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/%[email protected]%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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira