• Andy Wilkinson's avatar
    Ensure that Jersey and Jackson honour JAXB annotations · 8cbe30ab
    Andy Wilkinson authored
    By default Jersey configures Jackson to use both Jackson annotations
    and JAXB annotations when introspective types for (de)serialization.
    However, the changes made in 5776d6a8 mean that Jersey no longer uses
    its default ObjectMapper configuration and uses the auto-configured
    ObjectMapper instead. This had the unwanted side-effect of leaving
    Jersey with an ObjectMapper that only uses Jackson annotations and
    ignores JAXB annotations.
    
    This commit updates JerseyAutoConfiguration so that it will add the
    JaxbAnnotationIntrospector to the auto-configured ObjectMapper for
    both serialization and deserialization. It uses
    AnnotationIntrospectorPair to ensure retain any existing
    introspectors.
    
    Closes gh-6310
    8cbe30ab
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...