Skip to content

@JsonAnyGetter serialization order change from 2.18.4 to 2.19.0 #5215

Open
@eddumelendez

Description

@eddumelendez

Search before asking

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.19Issues planned at 2.19 or later

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions