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