@Test
    void returnEmptyJsonArrayGivenCustomJsonPrinter() {
        final AggregatedHttpResponse response = server.blockingWebClient().get("/json");
        assertThat(response.headers().contentType().isJson()).isTrue();

        final String responseString = response.contentUtf8();

        final String expectedString = "{\"messages\":[]}";
        assertThatJson(responseString).isEqualTo(expectedString);
    }
Given a ProtobufResponseConverterFunction with a custom JsonPrinter configured via the service builder,
the produced JSON should show that the custom JsonPrinter was used.
protobuf/src/test/java/com/linecorp/armeria/server/protobuf/ProtobufResponseAnnotatedServiceJsonArrayTest.java