[ 
https://issues.apache.org/jira/browse/SLING-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-3914.
-------------------------------------
    Resolution: Not a Problem

Yes, this works as designed. It's not important how the value is stored in the 
JCR - if the property has a single value, thats the json value, if it has more, 
the json value is an array.
Please consider writing an email to the mailing list for such questions in the 
future, thanks

> JsonJcrNode: Single array string value gets converted to string
> ---------------------------------------------------------------
>
>                 Key: SLING-3914
>                 URL: https://issues.apache.org/jira/browse/SLING-3914
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Christian Meyer
>
> The JsonJcrNode constructor, used to create an JSON object out of a JCR Node, 
> converts a JCR node containing a property
> {code}
> node
>   foo=["bar"]
> {code}
> to a JSON object
> {code}
> node: {
>   foo: "bar"
> }
> {code}
> Just double checking that this is the intended behaviour.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to