[
https://issues.apache.org/jira/browse/CXF-5814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin updated CXF-5814:
----------------------------------
Fix Version/s: (was: 3.1.0)
3.1.1
> Update some of JSONProvider property default values to make a better JSON
> output
> --------------------------------------------------------------------------------
>
> Key: CXF-5814
> URL: https://issues.apache.org/jira/browse/CXF-5814
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 3.1.1
>
>
> By default CXF JSONProvider:
> 1. supports namespaces
> 2. ignores XmlType only elements
> 3. does not drop a root element
> 1. is only useful when a client and server exchange JSON data and use
> Jettison-based providers, most likely we are talking about CXF client to CXF
> server calls. Technically speaking JSON payloads with namespace prefixes is
> invalid, it can be parsed but it is not correct
> 2. can by bypassed by using JAXBElement
> 3. Keeping the root element produces a sub-optimal JSON
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)