I have an entity Class having a LocalDate field validated using @JsonFormat annotation as below
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
private LocalDate fieldDate;
I am getting a Deserialisation/InvalidFormat Exception when passing the following dates as input 0000-00-00. Instead, I wanted to suppress the exception thrown and make the normal flow possible. Please suggest to me some methods for the same
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…