Skip to content

Support lenient setting with LocalDateDeserializer #129

@cowtowncoder

Description

@cowtowncoder

(note: follow-up on #106)

It seems like integer values are allowed for LocalDate: this meaning number of days since 1970-01-01 UTC. While this is useful for some users, others may want to prevent that -- this can be supported by using leniency setting (@JsonFormat and/or type/global configOverrides).

Will also benefit from eventual implementation of

FasterXML/jackson-databind#2424

which hopefully makes it in 2.10: it will add a way to define global "strict as baseline" configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions