title: JSON Parser not retrieving objects
body: <p>I have an activity that should get the latitude from this page. <a href="http://zen.coderdojo.com/dojo/json?callback=DojoList" rel="nofollow">http://zen.coderdojo.com/dojo/json?callback=DojoList</a></p>
  
  <p>Here is the activity.</p>
  
  <pre><code>public class GetData extends ActionBarActivity {
  
  private static final String URL = "http://zen.coderdojo.com/dojo/json?callback=DojoList";
  
  GoogleMap map;
  HttpClient client;
  JSONObject json;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.find_dojo);
      getActionBar().setHomeButtonEnabled(true);
      map = ((SupportMapFragment) getSupportFragmentManager()
              .findFragmentById(R.id.gmDojos)).getMap();
      map.setMapType(GoogleMap.MAP_TYPE_HYBRID);
      client = new DefaultHttpClient();
      new Read().execute("latitude");
  }
  
  public JSONObject mapMarker(String latlongitude)
          throws ClientProtocolException, IOException, JSONException {
      StringBuilder url = new StringBuilder(URL);
  
      HttpGet get = new HttpGet(url.toString());
      HttpResponse response = client.execute(get);
      int statusCode = response.getStatusLine().getStatusCode();
  
      if (statusCode == 200) {
          HttpEntity entity = response.getEntity();
          String data = EntityUtils.toString(entity);
          JSONArray obj = new JSONArray(data);
          JSONObject latlng = obj.getJSONObject(1);
          return latlng;
      } else {
          Toast.makeText(getApplicationContext(), "Error receiving data",
                  Toast.LENGTH_SHORT);
          return null;
      }
  
  }
  
  public class Read extends AsyncTask&lt;String, Integer, String&gt; {
  
      @Override
      protected String doInBackground(String... params) {
          // TODO Auto-generated method stub
          try {
              json = mapMarker("latitude");
              return json.getString(params[1]);
          } catch (IOException | JSONException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
          return null;
      }
  
      @Override
      protected void onPostExecute(String result) {
          // TODO Auto-generated method stub
      }
  }
  }
  </code></pre>
  
  <p>No errors appear in eclipse. I tested this in a TextView but it doesn't change the text so I know it isn't retrieving the data.</p>
  
  <p>I also wanted to get the longitude from the JSON file and get all instances of latitude and longitude. Any help on how I would fix this and also get the longitude is appreciated.</p>