docs: public static <T> T unmarshal(String str, final Class<T> type, Map<String, String> parameters) throws KubernetesClientException {
      try (InputStream is = new ByteArrayInputStream(str.getBytes(StandardCharsets.UTF_8));) {
        return unmarshal(is, new TypeReference<T>() {
          @Override
          public Type getType() {
            return type;
          }
        }, parameters);
      } catch (IOException e) {
        throw KubernetesClientException.launderThrowable(e);
      }
    }