Skip to content

@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY) does not work on fields #1043

@cowtowncoder

Description

@cowtowncoder

(note: moved from FasterXML/jackson-annotations#67)


Looks like JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY per-property override does not work, unlike its serialization counterpart (JsonFormat.Feature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions