public JsonConditionalResponseAs<T> orElseJson(
            Class<? extends T> clazz, ObjectMapper objectMapper, Predicate<AggregatedHttpResponse> predicate) {
        requireNonNull(clazz, "clazz");
        requireNonNull(objectMapper, "objectMapper");
        requireNonNull(predicate, "predicate");
        responseConverters.add(Maps.immutableEntry(predicate, AggregatedResponseAs.json(clazz, objectMapper)));
        return this;
    }
Sets the {@link Predicate} and {@link Class} that the content is deserialized into the {@link Class}
using the {@link ObjectMapper} when the {@link AggregatedHttpResponse} passes the {@link Predicate}.
core/src/main/java/com/linecorp/armeria/client/JsonConditionalResponseAs.java