Last active
August 10, 2020 09:12
-
-
Save rafaelbrizola/e35f5d761cdce6e34a555e1eb193e45e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Override | |
public void initialize(Bootstrap<?> bootstrap) | |
{ | |
ObjectMapper mapper = bootstrap.getObjectMapper(); | |
mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS); | |
mapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment