[jboss-jira] [JBoss JIRA] (AS7-5604) RestEasy's default JSON provider is Jackson, contrary to documented Jetisson

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Sat Sep 22 06:12:34 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Zizka updated AS7-5604:
------------------------------

         Labels: usability  (was: )
    Description: 
RestEasy's docs state that the default JSON provider is Jettison.
That should react to JAXB's {{@XmlTransient}}.

But with default config, only {{@org.​codehaus.​jackson.​annotate.JsonIgnore}} works. Which means that Jackson is used.

Not sure if it's intended. If so, please move this bug to RESTEASY, and it should be documented in "19.4. JAXB + JSON provider" that AS uses Jackson by default.

Also note that in AS 7.1.3.CR1, RestEasy modules are private, so using Jackson's annotations needs users go to module.xml's and change this.

  was:
RestEasy's docs state that the default JSON provider is Jettison.
That should react to JAXB's {{@XmlTransient}}.

But with default config, only {{@org.​codehaus.​jackson.​annotate.JsonIgnore}} works. Which means that Jackson is used.

Not sure if it's intended. If so, please move this bug to RESTEASY, and it should be documented in "19.4. JAXB + JSON provider" that AS uses Jackson by default.


    
> RestEasy's default JSON provider is Jackson, contrary to documented  Jetisson
> -----------------------------------------------------------------------------
>
>                 Key: AS7-5604
>                 URL: https://issues.jboss.org/browse/AS7-5604
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: Ondrej Zizka
>            Assignee: Stuart Douglas
>              Labels: usability
>
> RestEasy's docs state that the default JSON provider is Jettison.
> That should react to JAXB's {{@XmlTransient}}.
> But with default config, only {{@org.​codehaus.​jackson.​annotate.JsonIgnore}} works. Which means that Jackson is used.
> Not sure if it's intended. If so, please move this bug to RESTEASY, and it should be documented in "19.4. JAXB + JSON provider" that AS uses Jackson by default.
> Also note that in AS 7.1.3.CR1, RestEasy modules are private, so using Jackson's annotations needs users go to module.xml's and change this.

--
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



More information about the jboss-jira mailing list