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