docs: public List<Object> toList() {
          List<Object> results = new ArrayList<Object>(this.myArrayList.size());
          for (Object element : this.myArrayList) {
              if (element == null || JSONObject.NULL.equals(element)) {
                  results.add(null);
              } else if (element instanceof JSONArray) {
                  results.add(((JSONArray) element).toList());
              } else if (element instanceof JSONObject) {
                  results.add(((JSONObject) element).toMap());
              } else {
                  results.add(element);
              }
          }
          return results;
      }