• Andy Wilkinson's avatar
    Don’t register Jackson Module beans with all ObjectMappers · 5e4a7456
    Andy Wilkinson authored
    Previously, JacksonAutoConfiguration would register any Jackson Module
    beans with every ObjectMapper found in the application context. This
    was not consistent with the rest of the Jackson auto-configuration,
    which is only applied to ObjectMappers that are created or configured
    via the auto-configured Jackson2ObjectMapperBuilder.
    
    This commit removes the code that registers Jackson Module beans with
    every ObjectMapper. Such beans will still be registered with
    ObjectMappers created or configured using the auto-configured
    Jackson2ObjectMapperBuilder. This aligns the configuration of Module
    with the rest of the ObjectMapper configuration and makes it possible
    for users to create an ObjectMapper bean and still have complete control
    over the modules that are registered with it.
    
    Closes gh-2489
    5e4a7456
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator 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-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-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...