title: FLAT JSON ARRAY to list of Beans with Jackson JSON lib
body: <p>I have a flat json array which look like this :</p>
  
  <pre><code>[
    {
      "homeID": "ID1",
      "homeName": "David",
      "childID": "ID1",
      "childName": "AAAA"
    },
    {
      "homeID": "ID1",
      "homeName": "David",
      "childID": "ID2",
      "childName": "AAAAA"
    },
    {
      "homeID": "ID2",
      "homeName": "CASEY",
      "childID": "ID1",
      "childName": "AAAA"
    },
    {
      "homeID": "ID2",
      "homeName": "CASEY",
      "childID": "ID2",
      "childName": "AAAAA"
    }
  ]
  </code></pre>
  
  <p>Now what i need to do is to decode this JSONARRAY to a List of <code>list&lt;HOME&gt;</code> and in this list of HOMES I have a list <code>list&lt;CHILD&gt;</code> </p>
  
  <p>my Bean class :</p>
  
  <pre><code>public class Home{
      private String homeName;
      private list&lt;CHILD&gt;;
  
      public Home(){}
  }
  
  public class Child{
      private String childName;
  
      public Child(){}
  }
  </code></pre>
  
  <p>So what's the best practice to do this mapping with <code>Jackson</code> JSON lib and <code>java 8</code> ?</p>