code: 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;
      }
docs: Parse a JSON data structure from content from an inputStream
  
  @param inputStream stream over a JSON content
  @param charset charset
  @return a data structure of lists and maps
  @since 2.3