docs: public Object parse(InputStream inputStream, String charset) {
          if (inputStream == null) {
              throw new IllegalArgumentException("inputStream must not be null");
          }
          if (charset == null) {
              throw new IllegalArgumentException("charset must not be null");
          }
  
          Object content;
          content = createParser().parse(inputStream, charset);
          return content;
      }