Receive multiple JSONObject in one AsyncHttpClient request <p>I have a problem in my code. I just want to receive JSONObject from my server. here is a part of my php code after make the request</p> <pre><code>$obj = $result-&gt;fetchAll(PDO::FETCH_CLASS); foreach ($obj as $row) { $trouver = FALSE; if (stristr($row-&gt;type_of_event, $chaine_rechercher) !== FALSE) $trouver = TRUE; else if (stristr($row-&gt;name_of_event, $chaine_rechercher) !== FALSE) $trouver = TRUE; else if (stristr($row-&gt;description_of_event, $chaine_rechercher) !== FALSE) $trouver = TRUE; if ($trouver == TRUE){ $reponse["id"] = $row-&gt;id; $reponse["type_of_event"] = utf8_encode($row-&gt;type_of_event); $reponse["description_of_event"] = utf8_encode($row-&gt;description_of_event); echo(json_encode($reponse)); } } </code></pre> <p>But the problem is that in my onSuccess in Android code, just first JSONObject is received. here is a part of my android code</p> <pre><code>client.get("my_url", params, new JsonHttpResponseHandler() { @Override public void onSuccess(int statusCode, Header[] headers, JSONObject json_data) { try { int id = json_data.getInt("id"); String type = json_data.getString("type_of_event"); String description = json_data.getString("description_of_event"); id_list.add(id); type_list.add(type); description_list.add(description); ((SearchResultAdapter)getListAdapter()).notifyDataSetChanged(); } catch (JSONException e) { e.printStackTrace(); } } @Override public void onFailure(int statusCode, Header[] headers, String responseString, Throwable throwable) { Toast.makeText(SearchActivity.this, "Echec de connexion", Toast.LENGTH_SHORT).show(); } }); </code></pre> <p>Can you help me ? Please.</p>