@UnstableApi
    static <T> FutureResponseAs<ResponseEntity<T>> json(TypeReference<? extends T> typeRef,
                                                        ObjectMapper mapper) {
        requireNonNull(typeRef, "typeRef");
        requireNonNull(mapper, "mapper");
        return aggregateAndConvert(
                AggregatedResponseAs.json(typeRef, mapper, ResponseAsUtil.SUCCESS_PREDICATE));
    }
Aggregates an {@link HttpResponse} and deserializes the JSON {@link AggregatedHttpResponse#content()}
into the specified Java type using the specified {@link ObjectMapper}.
An {@link InvalidHttpResponseException} is raised if the status of the response is not
{@link HttpStatusClass#SUCCESS}. Use {@link #json(Class, Predicate)} if you want to deserialize
the content differently depending on the {@link AggregatedHttpResponse}.
core/src/main/java/com/linecorp/armeria/client/ResponseAs.java