title: Java LocalDate and Json parse
body: <p>I'am using a localDate to store a date coming from a client like this dd/MM/yyyy hh:mm:ss
  I use the Json format to manage this date.
  But i have this error:</p>
  
  <pre><code>JSON parse error: Cannot deserialize value of type `java.time.LocalDate` from String "06/11/2018 17:01:35": Failed to deserialize java.time.LocalDate
  </code></pre>
  
  <p>here is my class</p>
  
  <pre><code>@Entity
  </code></pre>
  
  <p>public class Audit implements Serializable{</p>
  
  <pre><code>/**
   * 
   */
  private static final long serialVersionUID = 1L;
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Long id;
  private String username;
  @JsonFormat(pattern="dd/MM/yyyy HH:mm:ss")
  private LocalDate loginDate;
  </code></pre>