static HttpResponse ofJson(HttpStatus status, Object content) {
        requireNonNull(status, "status");
        final ResponseHeaders headers = ResponseHeaders.builder(status)
                                                       .contentType(MediaType.JSON)
                                                       .build();
        return ofJson(headers, content);
    }
Creates a new HTTP response with the specified {@link HttpStatus} and {@code content} that is
converted into JSON using the default {@link ObjectMapper}.

@throws IllegalArgumentException if failed to encode the {@code content} into JSON.
@see JacksonObjectMapperProvider
core/src/main/java/com/linecorp/armeria/common/HttpResponse.java