Thanks!

But hmm. Maybe not, but I wanted to look in the class "javax.jcr.Property",
because it defines if a property is multiple or not (leading to the
generation of an array). However, I think that one could implement that
oneself. It's just that I have been coding in js only for nearly half a
year, and it feels so hard to fire up Eclipse again and all the time
everything takes. I'm just very lazy :)  I'll do it, though. Just another
cup of coffee...

Cheers,
PS

On Jan 22, 2008 10:10 AM, Bertrand Delacretaz <[EMAIL PROTECTED]>
wrote:

> Hi Peter,
>
> (replied to the JSON part in a renamed thread to separate matters)
>
> >... What I meant with not finding the source code to the JCR Property
> class was
> > that i did a grep . -exec "javax.jcr.Property" {} \;  -print   and every
> > file listed was one referering to it, not defining it, except for a jar
> > file, which came from the jcr project. So I kind of gave up on that
> point :)...
>
> Ah ok - I don't think you need the JCR Property source code, as the
> JSON format is completely generated by Sling.
>
> In microsling-core, that's
>
>
> ./src/main/java/org/apache/sling/microsling/helpers/json/JsonItemWriter.java
>
> ./src/main/java/org/apache/sling/microsling/slingservlets/renderers/JsonRendererServlet.java
>
> And in launchpad/launchpad-servlets that's
>
> ./src/main/java/org/apache/sling/launchpad/renderers/JsonItemWriter.java
>
> ./src/main/java/org/apache/sling/launchpad/renderers/JsonRendererServlet.java
>
> -Bertrand
>

Reply via email to