title: deserialise the list of integer from json to java using Jackson Object Mapper
body: <p>I have my json response like below:</p>
  
  <pre><code>{"IsValid":false,"ModelErrors":null,"ValidationErrors":[10000]}
  </code></pre>
  
  <p>model class:</p>
  
  <pre><code>public class ShipmentResponse {
      private boolean isValid;
      private ModelErrors modelErrors;
      private List&lt;Integer&gt; validationErrors = null;
  </code></pre>
  
  <p>Object Mapper code :</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
  ShipmentResponse shipmentResponse =  mapper.readValue((BufferedInputStream)response.getEntity(), ShipmentResponse.class);
  </code></pre>
  
  <p>i could not able to map the <em>validationErrors</em> from json to java ,i.e., validationErrors = null after parsing .Im expecting validationErrors = {1000} but not sure why? i know we can use TypeReference to return array or list but not nested inside data object.</p>