Default JSON rendering with selectable depth
--------------------------------------------

                 Key: SLING-167
                 URL: https://issues.apache.org/jira/browse/SLING-167
             Project: Sling
          Issue Type: Improvement
          Components: JSON
            Reporter: Bertrand Delacretaz


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.

Reply via email to