Using http://localhost:8080/.json works, but trying http://localhost:8080/.infinity.json or http://localhost:8080/.1.json gives me an exception and error 500;

org.apache.sling.commons.json.JSONException: Misplaced endArray.
        org.apache.sling.commons.json.io.JSONWriter.end(JSONWriter.java:203)
org.apache.sling.commons.json.io.JSONWriter.endObject(JSONWriter.java: 237) org .apache .sling .servlets.get.helpers.JsonResourceWriter.dump(JsonResourceWriter.java: 128) org .apache .sling .servlets.get.helpers.JsonResourceWriter.dump(JsonResourceWriter.java: 78) org .apache .sling .servlets .get.helpers.JsonRendererServlet.doGet(JsonRendererServlet.java:94) org .apache .sling .api .servlets .SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:262)

How do I fetch child nodes of the root node in json format? This is with sling current trunk from last week.

--
Torgeir Veimo
[email protected]




Reply via email to