code: public static Object fromInputStream(InputStream input, String enc) throws IOException {
          return fromInputStream(input, Charset.forName(enc));
      }
docs: Parses a JSON-LD document from the given {@link InputStream} to an object
  that can be used as input for the {@link JsonLdApi} and
  {@link JsonLdProcessor} methods.
  
  @param input
  The JSON-LD document in an InputStream.
  @param enc
  The character encoding to use when interpreting the characters
  in the InputStream.
  @return A JSON Object.
  @throws JsonParseException
  If there was a JSON related error during parsing.
  @throws IOException
  If there was an IO error during parsing.