Hi Andy,

On 24.02.2010 23:35, Andreas Schaefer (JIRA) wrote:
> I started working on an implementation of an Operation to accomplish that 
> based on the code from Simon. This version does not have much functionality 
> beside being able to support JCR primary types. The code can be found here:
> 
> g...@github.com:schaefa/SlingTreeSave.git
> 
> In the near future I want to add additional test cases (different JSon 
> structures) and adjust the Operation to support them.

This looks fine. Do you mind attaching this as a patch to the Sling Post
Servlet bundle to this issue ?

This would be cool. Thanks.

Regards
Felix

> 
> -Andy
> 
>> Allow uploading JSON files to create content structures
>> -------------------------------------------------------
>>
>>                 Key: SLING-1172
>>                 URL: https://issues.apache.org/jira/browse/SLING-1172
>>             Project: Sling
>>          Issue Type: New Feature
>>          Components: Servlets
>>    Affects Versions: Servlets Post 2.0.4
>>            Reporter: Felix Meschberger
>>             Fix For: Servlets Post 2.0.6
>>
>>
>> Currently uploading a JSON file will just create the file node.
>> On the other hand it would be useful if uploading to a node with a request 
>> extension of JSON, the JSON would be unpacked and handled as if it would be 
>> a modification request with the JSON data being the content to store.
>> This would be similar to JSON upload supported by CouchDB.
> 

Reply via email to