private HttpData toJsonHttpData(@Nullable Object value) {
        try {
            return HttpData.wrap(mapper.writeValueAsBytes(value));
        } catch (Exception e) {
            return Exceptions.throwUnsafely(e);
        }
    }
Creates an instance with the specified {@link ObjectMapper}.
core/src/main/java/com/linecorp/armeria/server/annotation/JacksonResponseConverterFunction.java