Add @JsonFormat.lenient
to allow configuring lenience of date/time deserializers
#105
Milestone
@JsonFormat.lenient
to allow configuring lenience of date/time deserializers
#105
When I specify a date in the form:
@JsonFormat(pattern = "yyyy-MM-dd") Date endDate;
I would like to set the leniency to false.
Currently, a value of 2016-225-35 is allowed, but I would like to make this invalid.
e.g.
@JsonFormat(pattern = "yyyy-MM-dd", lenient = false) Date endDate;
The text was updated successfully, but these errors were encountered: