Sergey Beryozkin created CXF-5814:
-------------------------------------
Summary: 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.0
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.2#6252)