[
https://issues.apache.org/jira/browse/CXF-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028141#comment-13028141
]
Pat Turner commented on CXF-3483:
---------------------------------
Hi Sergey,
thanks for the reply. That looks like it would do the trick, but when I set the
'attributesAsElements' property, I get an empty root object with no children.
Do I have to set any other property in the Provider?
When I take the define a provider with default properties, I get the full
dataset.
Pat
> JSONProvider: Don't force attributes to have @ if users doesn't want them too
> -----------------------------------------------------------------------------
>
> Key: CXF-3483
> URL: https://issues.apache.org/jira/browse/CXF-3483
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 2.3.4
> Reporter: Pat Turner
>
> Jettison provides a configuration option to omit the '@' from attributes:
> org.codehaus.jettison.mapped.Configuration.setSupressAtAttributes(boolean)
> see Jettison Jira:
> http://jira.codehaus.org/browse/JETTISON-2
> org.apache.cxf.jaxrs.provider.JSONProvider should also expose this property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira