title: Parse JSON to POJO when data type of value for same key changes
body: <p>I have below <code>JSON</code></p>
  
  <pre><code>{      
      "date":{
          "year":2017,
          "month":3,
          "day":12
      },
      "name":"Jon",
      "message":{
          "product":"orange",
          "price":2000
      }
  }
  </code></pre>
  
  <p>and sometimes it comes as below <code>JSON</code>:</p>
  
  <pre><code> {      
     "date":2017312,
      "name":"Jon",
      "message":{
          "product":"orange",
          "price":2000
      }
    }
  </code></pre>
  
  <p>Notice that the date can be <code>JSON object</code> or <code>long</code> value. How can I parse this to <code>POJO</code>? I am using <code>Jackson</code> library.</p>