Hi Peter,

On Jan 19, 2008 9:38 AM, Peter Svensson <[EMAIL PROTECTED]> wrote:
> ...http://localhost:8080/content.json?maxlevels=999";...

seems to indicate that you're running microsling-core.

I don't have time to look at this in detail now, but about this:

> ...Maybe I can write
> the JSON formatter myself? If someone points out where it is, and what kind
> of magic guards it, I could write it....

The microsling-core [1] JSON format is generated by the
JsonRendererServlet that you'll find under [1].

The "magic" that guards it is in the microsling-core integration
tests: if "mvn clean install" succeeds in [1] you're fine (see also
src/test/java/org/apache/sling/microsling/integration/package.html).

Note that the microsling-core is meant to go away as soon as
https://issues.apache.org/jira/browse/SLING-149 is completed. The
replacement is under [2], but I'm still working on it. The code is
fairly similar though, so if you create a patch for microsling-core,
porting it to that new module later shouldn't be too hard.

Hope this helps,
-Bertrand

[1]  
http://svn.apache.org/repos/asf/incubator/sling/trunk/microsling/microsling-core
[2] https://svn.apache.org/repos/asf/incubator/sling/trunk/usling/usling-webapp

Reply via email to