GitHub user visiongeist opened a pull request:

    https://github.com/apache/sling/pull/23

    SLING-3776 JsonRendererServlet should provide a way to list children as ...

    Adding an "array" selector will print the children of the node under the 
key "_children" and adds its key as a "_name" attribute. The wordings would 
need to be improved.
    
    I did the implementation of it only in the servlet, some parts may be 
possible to be moved to JSONObject though imho I think it belongs rather to the 
servlet because it is for pure formatting.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/visiongeist/sling SLING-3776

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/sling/pull/23.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #23
    
----
commit b35fa5e5f075ec24df0d1066c9beead9a2a38ba5
Author: Damien Antipa <dant...@adobe.com>
Date:   2014-07-21T12:40:49Z

    SLING-3776 JsonRendererServlet should provide a way to list children as an 
array
    
    Implementation with "array" selector directly in the servlet

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to