Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
3.9.1.Final
-
None
Description
Whem a bean is annotated with JAXB @XmlRootElement, and is serialized toJSON, the Jackson binding provider is used, instead of the JSONB binding provider, even with "resteasy.preferJacksonOverJsonB" context param set to false.
As stated in RESTEasy doc 29.4, to comply with JAX-RS spec, JSONB binding provider should take precedence over Jackson. Only if Jackson annotations are found in the deployment, or if the context param "resteasy.preferJacksonOverJsonB" is set to true, Jackson should take precedence.