title: Parsing multiple JSON strings
body: <p>I would like to thank all the users in this community for helping me get as far as I am in my project today. </p>
  
  <p>I now need your help once again. So far, I am able to establish a connection in my project from this JSON link (REMOVED FOR PRIVACY CONCERNS)</p>
  
  <p>The problem is I am only able to parse one string, (firstName)</p>
  
  <p>Here is my code: </p>
  
  <pre><code>public class JSONActivity extends Activity { 
  static TextView http; 
  HttpClient client; 
  JSONObject json; 
  
      final static String URL = "REMOVED FOR PRIVACY CONCERNS
  
      @Override 
      public void onCreate(Bundle savedInstanceState) { 
          super.onCreate(savedInstanceState); 
          setContentView(R.layout.main); 
          http = (TextView) findViewById(R.id.http); 
          client = new DefaultHttpClient(); 
          new Read().execute("firstName"); 
  
      } 
  
      public JSONObject getpw(String password) throws ClientProtocolException, 
              IOException, JSONException { 
          StringBuilder url = new StringBuilder(URL); 
          url.append(password); 
  
          HttpGet get = new HttpGet(url.toString()); 
          HttpResponse r = client.execute(get); 
          int status = r.getStatusLine().getStatusCode(); 
          if (status == 200) { 
              HttpEntity e = r.getEntity(); 
              String data = EntityUtils.toString(e); 
              JSONObject getname = new JSONObject(data); 
  
              return getname; 
          } else { 
              Toast.makeText(JSONActivity.this, "error", Toast.LENGTH_SHORT); 
              return null; 
          } 
      } 
  
      public class Read extends AsyncTask&lt;String, Integer, String&gt; { 
  
          @Override 
          protected String doInBackground(String... arg0) { 
              // TODO Auto-generated method stub 
              try { 
                  json = getpw("trustme"); 
                  return json.getString("firstName"); 
              } catch (ClientProtocolException e) { 
                  // TODO Auto-generated catch block 
                  e.printStackTrace(); 
              } catch (IOException e) { 
                  // TODO Auto-generated catch block 
                  e.printStackTrace(); 
              } catch (JSONException e) { 
                  // TODO Auto-generated catch block 
                  e.printStackTrace(); 
              } 
  
              return null; 
          } 
  
          @Override 
          protected void onPostExecute(String result) { 
              // TODO Auto-generated method stub 
              http.setText(result); 
          } 
      } 
  } 
  </code></pre>
  
  <p>My question is, how can I parse multiple strings rather than just "firstName"?</p>