code: public JSONArray optJSONArray(int index) {
          Object o = this.opt(index);
          return o instanceof JSONArray ? (JSONArray) o : null;
      }
docs: Get the optional JSONArray associated with an index.
  
  @param index
  subscript
  @return A JSONArray value, or null if the index has no value, or if the
  value is not a JSONArray.