title: Custom Date deserializing: Jackson
body: <p>i am trying to use the custom format for my date like this :</p>
  
  <pre><code>public class CustomDateMappingDeserialize extends JsonDeserializer&lt;Date&gt;{
  
      @Override
      public Date deserialize(JsonParser paramJsonParser, DeserializationContext paramDeserializationContext) throws IOException, JsonProcessingException {
           SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
              String date = paramJsonParser.getText();
              try {
                  Date formattedDate= format.parse(date);
                return formattedDate;
              } catch (ParseException e) {
                  throw new RuntimeException(e);
              }
  
      }
  
  }
  </code></pre>
  
  <p><strong>Date is 2011-04-08 09:00:00</strong>
   and after parsing i am getting the same date in FormattedDate and no exception.</p>
  
  <p>is there something i am missing ?</p>
  
  <p>Thanks </p>