title: Parse JSON without top-level label in android
body: <pre><code>@Override
          protected Void doInBackground(Void... params) {
              // Create an array
              arraylist = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();
              // Retrieve JSON Objects from the given URL address
              jsonobject = JSONfunctions
                      .getJSONfromURL("http://demo.cogzideltemplates.com/client/sedio/feed/home_feed?user_id=5&amp;start=1");
              try {
                  // Locate the array name in JSON
                  jsonarray = jsonobject.getJSONArray("worldpopulation");
  
                  for (int i = 0; i &lt; jsonarray.length(); i++) {
                      HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
                      jsonobject = jsonarray.getJSONObject(i);
                      // Retrive JSON Objects
                      map.put("rank", jsonobject.getString("rank"));
                      map.put("country", jsonobject.getString("country"));
                      map.put("population", jsonobject.getString("population"));
                      map.put("flag", jsonobject.getString("flag"));
                      // Set the JSON Objects into the array
                      arraylist.add(map);
                  }
              } catch (JSONException e) {
                  Log.e("Error", e.getMessage());
                  e.printStackTrace();
              }
              return null;
          }
  </code></pre>
  
  <hr>
  
  <p>here is my code but this dosenot work for me because my 
  json has no top level element how can i run it</p>
  
  <p>give me some example</p>