@UnstableApi
    static <V> JsonConditionalResponseAs<V> json(
            TypeReference<? extends V> typeRef, ObjectMapper mapper,
            Predicate<AggregatedHttpResponse> predicate) {
        requireNonNull(typeRef, "typeRef");
        requireNonNull(mapper, "mapper");
        requireNonNull(predicate, "predicate");
        return new JsonConditionalResponseAs<>(predicate, AggregatedResponseAs.json(typeRef, mapper));
    }
Aggregates an {@link HttpResponse} and deserializes the JSON {@link AggregatedHttpResponse#content()}
into the specified Java type using the specified {@link ObjectMapper} if the {@link Predicate}
is satisfied.
core/src/main/java/com/linecorp/armeria/client/ResponseAs.java