apache/sling — pull request #23 by visiongeist (2014-07-21 12:44:00+00:00)
Title: 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.