title: getString not working for JSON key
body: <p>I'm learning how to work with JSON's in java and I'm having a problem using getString for one of my keys. My code is here:</p>
  
  <pre><code>public static void getJSON(String matchID){
      String s = "";
      String test = "{\"employees\":[{\"firstName\":\"John\", \"lastName\":\"Doe\"}]}";
  
  
      try {
          JSONObject hi = new JSONObject(test);
          JSONArray stuff = hi.getJSONArray("employees");
          String[] items = new String[stuff.length()];
          items[0] = stuff.getString("firstName");
      } catch (JSONException e) {
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>The "getString" is underlined in red, and the "The method getString(int) in the type JSONArray is not applicable for the arguments (String)" I was following an answer to another question word for word almost, and this happens, any advice? Thanks!
  EDIT:
  I need to get the specifics by name ie. "firstName" because I will be working with thousands of JSONs that each have hundreds of lines.</p>