-
Notifications
You must be signed in to change notification settings - Fork 84
Add no-arg constructor for DateTimeDeserializer #124
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
Comments
What puzzles me is that I do not actually see a no-arguments constructor in Jackson 2.6 sources either. I will also add a note in SO question: the obvious usual answer should be "register JodaModule!". |
Ok based on reading the question I think that this issue is actually not about fixing anything (there never was such constructor) but making it possible. That would require a different approach; if you look at |
Thank you @abbychau for contributing this! Will be included in 2.14.0 release. |
ref: cf2f4c2#r68702429
I have no clue if is was regarded as public API 7 years ago, but I believe so. And I would prefer to have no-arg constructor in the next version of jackson-datatype-joda too, because we have the usage like
@JsonDeserialize(using = DateTimeDeserializer::class)
here is the problem met by people: https://stackoverflow.com/questions/38433432/class-com-fasterxml-jackson-datatype-joda-deser-datetimedeserializer-has-no-defa
The text was updated successfully, but these errors were encountered: