title: ClassCastException: org.json.simple.JSONArray cannot be cast to org.json.simple.JSONObject
body: <p>I am trying to parse a son file, and I don't know what I'm doing wrong (of course, I don't really know what I'm doing right, either).  </p>
  
  <p>file.json</p>
  
  <pre><code>[{  
  "arrOne":{  
      "one":"a",
      "two":"b",
      "three":"c",
      "four":"d",
      "five":"e"
  },
  "elemTwo":"f",
  "elemThree":"g",
  "elemFour":"h",
  "elemFive":"i",
  "arrSix":[{  
      "six":1,
      "seven":2,
      "eight":"j"
  }]}]
  </code></pre>
  
  <p>code:</p>
  
  <pre><code>import java.io.FileNotFoundException;
  import java.io.FileReader;
  import org.json.simple.JSONObject;
  import org.json.simple.parser.JSONParser;
  import org.json.simple.parser.ParseException;
  //...........
  JSONParser parser = new JSONParser();
  Object obj = parser.parse(new FileReader("/path/to/file.json"));
  JSONObject json = (JSONObject) obj;
  String unit = (String) json.get("elemTwo");
  System.out.println(unit);
  </code></pre>
  
  <p>I get the error ClassCastException: org.json.simple.JSONArray cannot be cast to org.json.simple.JSONObject.  Truthfully, I have no idea what I'm doing.  Any help would be great! Thanks!</p>