You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Bourque (JIRA)" <ji...@apache.org> on 2016/08/04 16:40:20 UTC

[jira] [Commented] (SLING-1172) Allow uploading JSON files to create content structures

    [ https://issues.apache.org/jira/browse/SLING-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15408083#comment-15408083 ] 

Dan Bourque commented on SLING-1172:
------------------------------------

Nice work!  Could someone update the Confluence site's FAQ at https://cwiki.apache.org/confluence/display/SLING/FAQ#FAQ-HowdoIcreateanodebypostingajsondocumenttoaURL?

> 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.1.0, JCR ContentLoader 2.1.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)