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