[ https://issues.apache.org/jira/browse/SLING-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880724#action_12880724 ]
Eric Norman commented on SLING-1172: ------------------------------------ Hi Mike, I (locally) have a mostly working prototype of a new "import" POST operation that re-uses the content loader functionality to import JSON (or XML) content supplied by a request parameter (or file upload). I just need to clean up the code a bit and make sure there is adequate test coverage and documentation before I check it in. I will try to get that wrapped up this week. > 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 > > > 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.