json date handling java code example Example: deserialize date java @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")