JSONProvider is serializing a single length array as a scalar. For example,
instead of serializing an array as:
["Hello"]
It is serializing as:
"Hello"
What can I enter in my resource.xml to fix this problem? Currently it looks
like this:
<resources>
<Service id="jsonProvider"
class-name="org.apache.cxf.jaxrs.provider.json.JSONProvider">
dropRootElement=true
supportUnwrapped = true
dropCollectionWrapperElement=true
serializeAsArray = true
</Service>
</resources>
Thank you.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/JSONProvider-single-length-array-tp4674152.html
Sent from the TomEE Users mailing list archive at Nabble.com.