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

Doug Bateman (JIRA) issues at jboss.org
Wed Apr 22 01:06:33 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061268#comment-13061268 ] 

Doug Bateman commented on WFLY-801:
-----------------------------------

Yeah, this is a documentation bug.  I'm surprised it's  marked "resolved-won't fix" when it's just a matter of fixing the docs.

> RestEasy's default JSON provider is Jackson, contrary to documented  Jetisson
> -----------------------------------------------------------------------------
>
>                 Key: WFLY-801
>                 URL: https://issues.jboss.org/browse/WFLY-801
>             Project: WildFly
>          Issue Type: Bug
>          Components: REST
>            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 was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list