title: navigate to specific JSON node and use ObjectMapper
body: <p>I want to use Jackson to navigate to a specific JSON and then send the values over the ObjectMapper.  I can currently achieve this if the JSON is just a simple array like this:</p>
  
  <pre><code>[
      {
          "parent": "A",
          "child": "B"
      },{
          "parent": "G",
          "child": "K"
      }
  ]
  </code></pre>
  
  <p>My Java code looks like this and it works.</p>
  
  <pre class="lang-java prettyprint-override"><code>ObjectMapper mapper = new ObjectMapper();
  Row[] row;
  
  row = mapper.readValue(json, Row[].class);
  </code></pre>
  
  <p>But when the JSON is a bit more nested like this:</p>
  
  <pre><code>{
      "data": [
          {
              "parent": "A",
              "child": "B"
          },{
              "parent": "G",
              "child": "K"
          }
      ]
  }
  </code></pre>
  
  <p>I'm unsure what I need to do to achieve the same effect.</p>
  
  <p>The <code>Row</code> class is just a standard class with the parent and child properties along with its getters and setters.  Nothing special there.</p>