-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test customizing the Jackson object mapper
Starting with FasterXML/jackson-databind#2683 Jackson will no longer use the generic bean serialization when serializing a `java.time.Instant`, but throw an error (since the bean serialization doesn't make sense for those types anyway). Our test relied on the bean serialization to test using custom object mappers. This PR improves the test to use a 'real' custom mapper instead of just relying on the bean fallback.
- Loading branch information
Showing
2 changed files
with
22 additions
and
8 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