docs: public static Object fromInputStream(InputStream input, Charset enc) throws IOException {
          try (InputStreamReader in = new InputStreamReader(input, enc);
                  BufferedReader reader = new BufferedReader(in);) {
              return fromReader(reader);
          }
      }