When retrieving an entry created by uploading a file, the jcr:data property
on the content node has a preceding colon.
"toggle_png_0":{
"jcr:primaryType":"nt:unstructured",
"toggle.png":{
"jcr:createdBy":"admin",
"jcr:created":"Thu Jan 09 2014 12:53:03 GMT-0800",
"jcr:primaryType":"nt:file",
"jcr:content":{
"jcr:lastModifiedBy":"admin",
"jcr:mimeType":"image/png",
"jcr:uuid":"552d0aee-b2a0-4002-966e-738ba58013f0",
"jcr:lastModified":"Thu Jan 09 2014 12:53:03 GMT-0800",
"jcr:primaryType":"nt:resource",
*":jcr:data":22198*
}
}
}
--
View this message in context:
http://apache-sling.73963.n3.nabble.com/JSON-issue-on-jcr-data-tp4030138.html
Sent from the Sling - Dev mailing list archive at Nabble.com.