Search before asking
- [x] I searched in the issues and found nothing similar.
Describe the bug
Using JsonAnyGetter
used to return property's value from this source instead of the field annotated with JsonProperty
until 2.18.4. Starting with 2.19.0, the behavior changed and now value from property is always returned.
Version Information
2.19.1
Reproduction
I am attaching a reproducer with Java 17 https://github.com/eddumelendez/jackson-deserializer-issue with the very exact configuration I use in my project.
Expected behavior
read the value from JsonAnyGetter
Additional context
No response
Comment From: pjfanning
sounds a bit like #5204 (but not definitely the same issues)
Comment From: pjfanning
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.19 mentions a couple of changes in the area but don't jump out as related
Comment From: JooHyukKim
JsonAnyGetter is for serialization. I saw ur test qnd it seems to do round-trip.
Could u try out again with hard coded JSON so we can see what the output for each of serialzation and deserialization looks like?