Keep in mind that if you have a very big tree you might run into a 300 status code. The body will contain a JSON object of possible requests you can do.
I _think_ it's limited to 200 items by default, but it can be configured trough the Felix admin console. Regards, Simon On 17 September 2010 10:45, Felix Meschberger <[email protected]> wrote: > Hi, > > yes you can. By indicating the depth of the tree you want to get back as > a selector: > > /content.json --- returns just the properties of /content > /content.2.json -- returns /content plus two levels down > /content.infinity.json -- returns complete /content tree > > Beware of the "infinity", though, this may get very large very quickly. > > Regards > Felix > > Am 17.09.2010 10:27, schrieb Federico Paparoni: >> Hi all, >> >> In Apache Sling it's possible to have the resource in a JSON format, but is >> it possible to have a JSON tree ? >> For example if I have a node with children, can I have the rappresentation >> of these structure as a JSON tree using Apache Sling? >> >> Cheers, >> >
