title: "JSONArray initial value should be a string or collection or array" (twitter4j, twitterapi, JSONObject)
body: <p>That is my first question here and for me. Please be advised: I searched this whole forum and I really got the feeling, I have overseen something! So I just ask for my "special" case. </p>
  
  <p>I have a <code>.json</code> file, which is correct and starts with array (validated through jsonlint.com). </p>
  
  <p>My code is:</p>
  
  <pre><code>public static void main(String[] args) throws IOException, ParseException, JSONException {
      String inputPath = "/home/e/Desktop/";
  
      FileReader br = new FileReader(inputPath + "Antikoerperyosi.json");
  
      JSONArray array = new JSONArray(br);
  
  
      try {
          for(int index = 0; index &lt; array.length(); ++index) {
              JSONObject hashTag = array.getJSONObject(index);
              System.out.println(hashTag);
         }
      } catch (Exception e) {
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>I managed to read out a single <code>.json</code> and after correcting my files json syntax, I got really confused of how to tell to grab from the object "status" the object "entities" and then from object "entities" the array "hashtags". </p>
  
  <p>I will append the first two lines of my JSON in hope it will make it easier to understand my point. (I could not attend, I a am new here)</p>
  
  <p>JSON-File(snippet, I cannot intend if I am not mistaken..):
  "status":{....."entities":{"urls":[],"hashtags":[{"indices":[35,44],"text":"LuxLeaks"},{"indices":[49,62],"text":"Handelsblatt"}],
  next JSON[..."status":{.....}], etc.</p>
  
  <p>Thanks a lot.</p>