docs: public JSONArray getJSONArray(int index) throws JSONException {
      Object o = get(index);
      if (o instanceof JSONArray) {
        return (JSONArray) o;
      }
      throw new JSONException("JSONArray[" + index + "] is not a JSONArray.");
    }