docs: public static <T> T unmarshal(InputStream is, Map<String, String> parameters) throws KubernetesClientException {
      String specFile = readSpecFileFromInputStream(is);
      if (containsMultipleDocuments(specFile)) {
        return (T) getKubernetesResourceList(parameters, specFile);
      }
      return unmarshal(new ByteArrayInputStream(specFile.getBytes()), JSON_MAPPER, parameters);
    }