title: How do I parse nested json objects?
body: <p>I am trying to load a JSON file to parse the contents nested in the root object. Currently I have the JSON file open and loaded as such:</p>
  <pre><code>with open(outputFile.name) as f:
          data = json.load(f)
  </code></pre>
  <p>For the sake of the question here is an example of what the contents of the JSON file are like:</p>
  <pre><code>{
  &quot;rootObject&quot; : 
  {
      &quot;person&quot; : 
      {
          &quot;address&quot; : &quot;some place ave. 123&quot;,
          &quot;age&quot; : 47,
          &quot;name&quot; : &quot;Joe&quot;
          
      },
      &quot;kids&quot; : 
      [
          
          {
              &quot;age&quot; : 20,
              &quot;name&quot; : &quot;Joey&quot;,
              &quot;studySubject&quot;:&quot;math&quot;
          },
          
          {
              &quot;age&quot; : 16,
              &quot;name&quot; : &quot;Josephine&quot;,
              &quot;studySubject&quot;:&quot;chemistry&quot;
          }
         
      ],
      &quot;parents&quot; : 
      {
          &quot;father&quot; : &quot;Joseph&quot;,
          &quot;mother&quot; : &quot;Joette&quot;
      }
  </code></pre>
  <p>How do I access the nested objects in &quot;rootObject&quot;, such as &quot;person&quot;, &quot;kids&quot; and its contents, and  &quot;parents&quot;?</p>