@Post("/obj/obj")
    @ProducesJson
    public Response json3(@RequestObject Request request) {
        return new Response(Response.SUCCESS, request.name());
    }
Returns a {@link Response} object. A {@link Request} is automatically converted by
{@link JacksonRequestConverterFunction}.

<p>If you want to use a custom {@link ObjectMapper} for JSON converters, you can register a new
{@link JacksonRequestConverterFunction} with your custom {@link ObjectMapper} when adding an
annotated service as follows:
<pre>{@code
// Create a new JSON request converter with a custom ObjectMapper.
final JacksonRequestConverterFunction requestConverterFunction =
        new JacksonRequestConverterFunction(
                new ObjectMapper().enable(SerializationFeature.INDENT_OUTPUT)
                                  .enable(SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS));
// Register the converter when adding an annotated service to the ServerBuilder.
final Server = Server.builder()
                     .port(0, SessionProtocol.HTTP)
                     .annotatedService("/messageConverter",
                                       new MessageConverterService(),
                                       requestConverterFunction)
                     .build();
}</pre>
examples/annotated-http-service/src/main/java/example/armeria/server/annotated/MessageConverterService.java