enapps-enorman commented on PR #22: URL: https://github.com/apache/sling-org-apache-sling-jcr-contentloader/pull/22#issuecomment-1568757224
@YegorKozlov I see. Well, the leading colon seems to be already used for a specific purpose which is to be ignored during the import so I'm not sure I like changing that meaning for another purpose. Maybe, the import parser could handle "[Data URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs)" style syntax for all binary property values like this: "data:[mediatype][;base64],data" For example: ``` { "jcr:primaryType": "nt:unstructured", "file": { "jcr:primaryType": "nt:file", "jcr:content": { "jcr:primaryType": "nt:resource", "jcr:mimeType": "image/png", "jcr:data": "data:image/x-png;base64,iVBORw0KGgoA" } } } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
