title: Parse JSON array from URL
body: <p>I have this JSON array:</p>
  
  <pre><code>[{"id":"101","title":"Oferta 1"},{"id":"102","title":"Oferta 2"},{"id":"103","title":"Oferta del Mes"},{"id":"104","title":"Promoci\u00f3n Facebook"}]
  </code></pre>
  
  <p>I need to parse this JSON, but when I parse it I recive only</p>
  
  <pre><code>{"id":"101","title":"Oferta 1"}
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>try {
      JSONObject json = JSONfunctions.getJSONfromURL("URLOFJSON");
      Log.i("log_tag", json.toString()); 
      String jsonvalues =  json.getString("id");
  
      Log.i("log_tag", jsonvalues);  
  }
  catch (Exception ex)
  {
      Log.e("log_tag", "Error getJSONfromURL "+ex.toString());           
  }
  </code></pre>
  
  <p>How can I resolve this?</p>
  
  <p>Thanks for all.</p>