title: automatic String to int[] conversion in Jackson
body: <p>I have a simple POJO:</p>
  
  <pre><code>public class Entry {
      private Integer day;
      private String site;
      private int[] cpms;
      ... // getters/setters/constructor
  }
  </code></pre>
  
  <p>My log file which i would like to read seems like:</p>
  
  <pre><code>{ "day":"1", "site":"google.com", "cpms":"[1,2,3,4,5,6,7]"}
  </code></pre>
  
  <p>Jackson converts the String into Integer automatically according to docs. But it is not for field "cpms". What is the best way to read it?<br>
  I know that i can define "cpms" in constructor as string and then parse this string doing an array from it like this:</p>
  
  <pre><code>ObjectMapper objectMapper = new ObjectMapper();
  objectMapper.configure(DeserializationFeature.USE_JAVA_ARRAY_FOR_JSON_ARRAY, true);
  this.cpm = objectMapper.readValue(cpms, int[].class);
  </code></pre>
  
  <p>but is there any smart conversion?</p>