-
Notifications
You must be signed in to change notification settings - Fork 40.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Jackson based XML serialization and Jackson2ObjectMapperBuilder
This commit introduces support for Jackson based XML serialization, using the new MappingJackson2XmlHttpMessageConverter provided by Spring Framework 4.1. It is automatically activated when Jackson XML extension is detected on the classpath. Jackson2ObjectMapperBuilder is now used to create ObjectMapper and XmlMapper instances with the following customized properties: - MapperFeature.DEFAULT_VIEW_INCLUSION is disabled - DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES is disabled JodaModuleAutoConfiguration and Jsr310ModuleAutoConfiguration have been removed since their behaviors are now handled directly by the ObjectMapper builder. In addition to the existing @bean of type ObjectMapper support, it is now possible to customize Jackson based serialization properties by declaring a @bean of type Jackson2ObjectMapperBuilder. Fixes gh-1237 Fixes gh-1580 Fixes gh-1644
- Loading branch information
1 parent
0773b89
commit 315213e
Showing
11 changed files
with
216 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.