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