title: How to serialize JSON with array field to object with String field?
body: <p>I have a JSON object like </p>
  
  <pre class="lang-java prettyprint-override"><code>{
    "id" : "1",
    "children" : ["2","3"]
  }
  </code></pre>
  
  <p>And I have a Java object like (constructor, getters and setters are omitted):</p>
  
  <pre class="lang-java prettyprint-override"><code>public class Entity {
      public String id;
      public String children;
  }
  </code></pre>
  
  <p>I want this JSON to be deserialized to my Java object by this code using Jackson:</p>
  
  <pre class="lang-java prettyprint-override"><code>Entity entity = mapper.readValue(json, Entity.class);
  </code></pre>
  
  <p>But get the following error:</p>
  
  <pre class="lang-none prettyprint-override"><code>Can not deserialize instance of java.lang.String out of START_ARRAY token
  </code></pre>
  
  <p>How can I solve it without changing type of <code>children</code> field? </p>
  
  <p>The <code>children</code> field is expected to have the following value: <code>["2","3"]</code>.</p>