[
https://issues.apache.org/jira/browse/SLING-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger updated SLING-167:
------------------------------------
Fix Version/s: 2.0.0
> Default JSON rendering with selectable depth
> --------------------------------------------
>
> Key: SLING-167
> URL: https://issues.apache.org/jira/browse/SLING-167
> Project: Sling
> Issue Type: Improvement
> Components: Commons JSON
> Reporter: Bertrand Delacretaz
> Fix For: 2.0.0
>
>
> As discussed on list [1], the default JSON rendering should work as follows:
> .../mynode.0.json -> returns the node and its properties
> .../mynode.1.json -> returns the node, it properties and the direct child
> nodes and their properties
> .../mynode.2.json -> same, but two levels deep in the child nodes hierarchy
> ...
> .../mynode.infinity.json -> returns the entire subtree.
> and .../mynode.json behaves like .../mynode.0.json
> [1]
> http://mail-archives.apache.org/mod_mbox/incubator-sling-dev/200801.mbox/[EMAIL
> PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.