Skip to content

Add enum features into @JsonFormat.Feature #3637

@Anatoly4444

Description

@Anatoly4444

com.fasterxml.jackson.annotation

I have several enum objects which jackson deserialize and requests failed after third company API updated possible values in this object. And also i don't want to add this Feature for whole project cause this feature could broke logic for another requests.

Jackson has com.fasterxml.jackson.annotation.JsonFormat.Feature which could be added on certain class but for now that does not support READ_UNKNOWN_ENUM_VALUES_AS_NULL and READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE. Please add

@cowtowncoder said i should create issue here, not in jackson-annotations

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssue that seems easy to resolve and is likely a good candidate for contributors new to projectpr-welcomeIssue for which progress most likely if someone submits a Pull Request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions