code: public static <T> T unmarshal(InputStream is, final Class<T> type) throws KubernetesClientException {
      return unmarshal(is, type, Collections.<String, String>emptyMap());
    }
docs: Unmarshals an {@link InputStream}.
  @param is              The {@link InputStream}.
  @param type            The type.
  @param <T>           Template argument denoting type
  @return returns de-serialized object
  @throws KubernetesClientException KubernetesClientException