title: Parse simple JSON Array without key
body: <p>I need help with parsing simple JSONArray like this:</p>
  
  <pre><code>{
   "text":[
    "Morate popuniti polje tekst."
   ]
  } 
  </code></pre>
  
  <p>I have tried with this but I failed:</p>
  
  <pre><code> if (response_str != null) {
      try {
          JSONObject jsonObj = new JSONObject(response_str);
          JSONArray arrayJson = jsonObj.getJSONArray("text");
  
          for (int i = 0; i &lt; arrayJson.length(); i++) {
              JSONObject obj = arrayJson.optJSONObject(i);
              error = obj.getString("text");
          }
      }
  </code></pre>