-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Deserialization with Builder, External type id, @JsonCreator
failing
#4742
Comments
Apologies for late response 🙏🏼 First of all, thank you for reporting this! |
Seems like code path changed by #4515. So before 2.18 in protected Object deserializeWithExternalTypeId(JsonParser p, DeserializationContext ctxt)
throws IOException
{
if (_propertyBasedCreator != null) {
return deserializeUsingPropertyBasedWithExternalTypeId(p, ctxt);
}
return deserializeWithExternalTypeId(p, ctxt, _valueInstantiator.createUsingDefault(ctxt));
} The |
Wrote #4757 to start talking with @cowtowncoder possible direction to fix. |
@JsonCreator
not yet implemented@JsonCreator
failing
Thank you! 🎉 |
Search before asking
Describe the bug
Starting with version 2.18, we get the following exception when deserializing our auto-value-based objects.
Version Information
2.18.0
Reproduction
This example triggers the bug. Our code uses Google's auto-value, but I wrote the example without auto-value to make it easier to debug. The code works with 2.17 but fails with 2.18.
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: