-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
version 2.2.3 can't deserialize some class that verision 2.2.2 can #101
Comments
This was caused by my attempts at a fix for #83, which in turn is caused by FasterXML/jackson-databind#318. For 2.3 (and 2.2.4, if there ever is one), I'll revert the fix for #83, as it's a bit of an esoteric use case, and hopefully be able to get a fix into databind for that use case. |
Version 2.3.0-rc1 has been released with this fix. It'd be a big help if you could try out the release candidate and let us know if you have any issues. |
Thank you, the problem disappear after switch to 2.3.0-rc1, test with both jackson-test1 test code and my real code. |
Great, thanks for your feedback! |
Some simple class can successful deserialize with jackson-module-scala v2.2.2, throw com.fasterxml.jackson.databind.JsonMappingException with v2.2.3.
Test code:
https://github.com/yuchangyuan/jackson-test1
https://github.com/yuchangyuan/jackson-test1/blob/master/src/main/scala/test.scala
and build.sbt
The output is here:
https://gist.github.com/yuchangyuan/1acd667cec29ce9b6a35
But if I change jackson-module-scala version to 2.2.2, while keep jackson-databind version unchanged(v2.2.3), everything is ok(that's why I think this is a jackson-module-scala issue, not jackson-databind):
https://gist.github.com/yuchangyuan/06ceebf8087b53df4c9b
The text was updated successfully, but these errors were encountered: