title: How to deserialize JSON having a Date type field to POJO.
body: <p>I'm working on a REST api using Jersey+Jackson.</p>
  
  <p>I want to convert JSON --> POJO.</p>
  
  <p>My <strong>Pojo</strong> class is having a <strong>Date field</strong> called <strong>'created'</strong>.</p>
  
  <p>In a String <strong>'jsonUser'</strong> i have json representation of my <strong>Pojo</strong>.</p>
  
  <p>Now when i use following code to convert JSON representation to Pojo object : </p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();       
  Pojo oldUser = mapper.readValue(jsonUser, Pojo.class);
  </code></pre>
  
  <p>I get following error : </p>
  
  <pre><code>Exception: Can not construct instance of java.sql.Timestamp from String value '2013-07-29 11:41:00.0': not a valid representation 
  </code></pre>
  
  <p>Jackson is not able to <strong>deserialize</strong> <code>String</code> representation to <code>Date</code> object.</p>
  
  <p>How can i configure <strong>Jackson</strong> to do that?</p>