cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Lorber (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-4498) Default Jettison JSONProvider: @ for element attributes in JSON
Date Wed, 05 Sep 2012 12:55:07 GMT

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

Sebastien Lorber updated CXF-4498:
----------------------------------

    Description: 
Initial description:
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.


--------------------------------------------------------------------------------

My additional comments:
I think the original issue is not fixed.
There is an alternative solution by subclassing the JSONProvider.



  was:
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.


    
> Default Jettison JSONProvider: @ for element attributes in JSON
> ---------------------------------------------------------------
>
>                 Key: CXF-4498
>                 URL: https://issues.apache.org/jira/browse/CXF-4498
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 2.3.4
>            Reporter: Sebastien Lorber
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4.1, 2.3.5
>
>
> Initial description:
> 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.
> --------------------------------------------------------------------------------
> My additional comments:
> I think the original issue is not fixed.
> There is an alternative solution by subclassing the JSONProvider.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message