-
-
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
EXTERNAL_PROPERTY never gets deserialized #1271
Comments
I don't know if it is impossible to make |
I'm pretty sure I can see the failure even without JsonValue. The type id resolution is working fine ... the problem is that the value On Fri, Jun 17, 2016 at 4:12 PM, Tatu Saloranta notifications@github.com
|
The branch databind-1271 now demonstrates this without any use of JsonValue. The property called out as the EXTERNAL_PROPERTY is null after deserialization, even though was read and supplied to the type id resolver. |
Ok yes, I can reproduce this with 2.8.0-SNAPSHOT. Addition of One suggestion for actual code, if it differs from tests; instead of directly implementing |
Digging into this, no clear solution, but looking at existing failing tests seems like this might be same as #999: failure mode differs, but only because constructor validates the value. |
Duplicate of #999, resolved by same fix, to be included in 2.8.0 (or 2.8.0.rc3 if one more rc was to be released). |
The branch named 'fiddle' in git@github.com:benson-basis/jackson-custom-mess-tc.git shows another wrinkle: an EXTERNAL_PROPERTY of class value with a @JsonValue annotation is deserialized to null.
#1270
The text was updated successfully, but these errors were encountered: