You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2011/04/27 17:56:03 UTC

[jira] [Resolved] (CXF-3475) JSONProvider not able to unmarshall JSON string without namespaces

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

Sergey Beryozkin resolved CXF-3475.
-----------------------------------

    Resolution: Not A Problem
      Assignee: Sergey Beryozkin

This is a configuration issue for receiving JSONProvider.
Elements can not be converted back to attributes for JSON sequences, only for XML sequences (with XSLTJaxbProvider or similar)

> JSONProvider not able to unmarshall JSON string without namespaces
> ------------------------------------------------------------------
>
>                 Key: CXF-3475
>                 URL: https://issues.apache.org/jira/browse/CXF-3475
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS, JAXB Databinding
>    Affects Versions: 2.4
>            Reporter: Praveer Gupta
>            Assignee: Sergey Beryozkin
>
> If a JSON String is generated by org.apache.cxf.jaxrs.provider.JSONProvider using the attributes ignoreNamespaces and attributesToElements as true, the JSONProvider is not able to unmarshall the same JSON string back to the Java object from which it was generated. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira