title: Print out specific values from a JSON file (nested objects-arrays) w/ JAVA
body: <p>I would like to be able to parse and print out some information from a JSON file however I get stuck whenever I try to do it with nested objects-arrays. </p>
  
  <p>I am using JsonSimple library.</p>
  
  <p>My json file:</p>
  
  <pre><code>x
  </code></pre>
  
  <p>What I have been doing so far was to modify the file into the following:</p>
  
  <pre><code>x
  </code></pre>
  
  <p>And by using an iterator was able to print out all the info:</p>
  
  <pre><code>x
  </code></pre>
  
  <p>As soon as I modify the JSON file and add the Staff object it stops working.
  I know I am doing something wrong but I can't see what.</p>
  
  <p>I would really like to be able to print out this info with the Staff object included in the JSON file and once that's done say I need to print out these 2 managers in ascending age order how will I do that?</p>
  
  <p>All ideas and suggestions will be so much appreciated ! Thanks.</p>
  
  <p>The Manager class:</p>
  
  <pre><code>x
  </code></pre>