code: public static Document read( InputStream stream,
                                   Charset charset ) throws ParsingException {
          return SHARED_READER.read(stream, charset);
      }
docs: Read the JSON representation from supplied input stream and construct the {@link Document} representation, using the
  supplied {@link Charset character set}.
  <p>
  This method will read standard JSON and modified JSON, and tolerates whitespace and use of several delimeters, including
  the standard ':' as well as '=' and '=>'.
  </p>
  
  @param stream the input stream; may not be null
  @param charset the character set that should be used; may not be null
  @return the in-memory {@link Document} representation
  @throws ParsingException if there was a problem reading from the stream