@UnstableApi
    static <V> JsonConditionalResponseAs<V> json(
            Class<? extends V> clazz, ObjectMapper mapper, Predicate<AggregatedHttpResponse> predicate) {
        requireNonNull(clazz, "clazz");
        requireNonNull(mapper, "mapper");
        requireNonNull(predicate, "predicate");
        return new JsonConditionalResponseAs<>(predicate, AggregatedResponseAs.json(clazz, mapper));
    }
Aggregates an {@link HttpResponse} and deserializes the JSON {@link AggregatedHttpResponse#content()}
into the specified non-container type using the specified {@link ObjectMapper} if the
{@link Predicate} is satisfied.

<p>Note that this method should NOT be used if the result type is a container such as {@link Collection}
or {@link Map}. Use {@link #json(TypeReference, ObjectMapper, Predicate)} for the container type.
core/src/main/java/com/linecorp/armeria/client/ResponseAs.java