docs: public String getString(int index) throws JSONException {
          Object object = this.get(index);
          if (object instanceof String) {
              return (String) object;
          }
          throw new JSONException("JSONArray[" + index + "] not a string.");
      }