Skip to content

Make @JsonUnwrapped compatible with @JsonSerialize(converter=) #6017

Description

@manuel-hegner

Is your feature request related to a problem? Please describe.

Currently those two are not compatible, because StdConvertingSerializer is not isUnwrappingSerializer. This is especially sad because @JsonUnwrapped is compatible with @JsonSerializer(converter=).

Describe the solution you'd like

StdConvertingSerializer should be unwrapping if its _delegateSerializer is unwrapping. This would allow for the annotation combination to work, if the Converter produces a POJO

Usage example

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions