You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Vidar S. Ramdal (JIRA)" <ji...@apache.org> on 2009/04/17 19:15:15 UTC

[jira] Resolved: (SLING-930) Add an easy way to turn a JCR node into a JSON object

     [ https://issues.apache.org/jira/browse/SLING-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vidar S. Ramdal resolved SLING-930.
-----------------------------------

    Resolution: Fixed

Added in rev#766087

> Add an easy way to turn a JCR node into a JSON object
> -----------------------------------------------------
>
>                 Key: SLING-930
>                 URL: https://issues.apache.org/jira/browse/SLING-930
>             Project: Sling
>          Issue Type: New Feature
>          Components: Commons JSON
>    Affects Versions: Commons JSON 2.0.2
>            Reporter: Vidar S. Ramdal
>            Assignee: Vidar S. Ramdal
>            Priority: Minor
>             Fix For: Commons JSON 2.0.4
>
>
> There's currently no easy way to turn a JCR node into a JSON object. 
> Granted, you have the JsonItemWriter, but it writes JSON text directly to an output stream. If you want to modify the JSON object before it is written, you're out of luck.
> Therefore, Im creating the JsonJcrNode. It extends JSONObject, but otherwise behaves similarly to JsonItemWriter (in fact, some of the code is directly copied from JsonItemWriter). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.