You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Describe the bug
I could not for the life of me figure out why my field was always deserializing as null (I'm using ArangoDB which uses Jackson internally.) After learning a bit about Jackson I had a hunch that it was something to do with the property alias, which ultimately was the cause.
Search before asking
Describe the bug
I could not for the life of me figure out why my field was always deserializing as
null
(I'm using ArangoDB which uses Jackson internally.) After learning a bit about Jackson I had a hunch that it was something to do with the property alias, which ultimately was the cause.Fails:
Gives:
UnrecognizedPropertyException: Unrecognized field "_a" (class com.queatz.B), not marked as ignorable (one known property: "a"])
Moving the property out of the constructor makes everything okay:
This correctly deserializes
_a
To Reproduce
No response
Expected behavior
No response
Versions
Kotlin: 1.8.21
Jackson-module-kotlin: latest
Jackson-databind: latest
Additional context
No response
The text was updated successfully, but these errors were encountered: