Skip to content

Instantly share code, notes, and snippets.

@marcosabel
Created February 27, 2019 17:11
Show Gist options
  • Save marcosabel/c2050d8828710785e608607902958b04 to your computer and use it in GitHub Desktop.
Save marcosabel/c2050d8828710785e608607902958b04 to your computer and use it in GitHub Desktop.
@JsonProperty("date")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
private Calendar someDate;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment