You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Eric Norman <er...@gmail.com> on 2010/07/01 06:11:10 UTC
Re: [jira] Resolved: (SLING-1172) Allow uploading JSON files to
create content structures
Hi Simon,
Yes, I suppose that should work. I'll take another look at it.
Regards,
-Eric
On Wed, Jun 30, 2010 at 8:58 AM, Simon Gaeremynck <ga...@gmail.com>wrote:
> Is there a way to create a tree of nodes without having the generated name
> bit in there?
> ie:
> I want to create the tree
> {
> "foo" :{
> "boolVal" : true
> "intVal" : 23
> }
> }
>
> at /testarea so I end up with the following node structure:
>
> /testarea/foo
> /testarea/foo/boolVal = true
> /testarea/foo/intVal = 23
>
>
> Otherwise the import operation looks like a very cool thing to use!
>
> Regards,
>
> Simon
>
>
>
> On 27 Jun 2010, at 20:39, Eric Norman (JIRA) wrote:
>
> >
> > [
> https://issues.apache.org/jira/browse/SLING-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
> >
> > Eric Norman resolved SLING-1172.
> > --------------------------------
> >
> > Fix Version/s: JCR ContentLoader 2.0.8
> > Resolution: Fixed
> >
> > Code committed in r958411. Please review to verify it works as you would
> expect.
> >
> >
> >
> >> 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
> >> Assignee: Eric Norman
> >> Fix For: Servlets Post 2.0.6, JCR ContentLoader 2.0.8
> >>
> >>
> >> 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.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
> >
>
>