-
Notifications
You must be signed in to change notification settings - Fork 40.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update JacksonAutoConfiguration with nicer defaults #1237
Comments
See also #1227 which is about offering a configuration file option. My vote would be to switch and provide a configuration option so that users can switch back if they wish. Seems like Jackson won't be changing anytime soon. |
@philwebb can you elaborate a bit on the configuration file option. Are you talking about a generic conf file that takes any of the |
@cdupuis I was thinking of a |
As discussed on SPR-12179, I am working on that right now, and will give you an update shortly in order to ensure Spring Framework and Spring Boot play well together. |
Should Boot disable by default
FAIL_ON_UNKNOWN_PROPERTIES
in the ObjectMapper configuration?Jackson's stock configuration actually fails deserialization whenever it encounters an unknown property. Right now, POJOs need to list all incoming JSON properties (even if it means annotating them with
JsonIgnore
.See https://jira.spring.io/browse/SPR-11891 for further reference.
The text was updated successfully, but these errors were encountered: