title: Parsing date with Jackson
body: <p>I'm parsing a json file using Jackson like the one below :</p>
  
  <pre><code>    {
        "start_time": "2013/10/15 15:16:39",
        "name" : "Kapil"
      }
  </code></pre>
  
  <p>My code to parse the file is:</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  DateFormat myDateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
  mapper.setDateFormat(myDateFormat);
  JsonNode newNode = mapper.readTree(jsonString);
  </code></pre>
  
  <p>I'm then storing the JsonNode object in MongoDB and performing a range query on the date. 
  My newNode object looks like this :</p>
  
  <pre><code>{"start_time":"2013/10/15 15:16:39","name":"Kapil"}
  </code></pre>
  
  <p>I'm afraid that Jackson is interpreting the start_time field as a string rather than a date and hence my range query on the date is not working. How do I get Jackson to interpret the date type correctly? </p>