Class JacksonResponseConverterFunction

java.lang.Object
com.linecorp.armeria.server.annotation.JacksonResponseConverterFunction
All Implemented Interfaces:
ResponseConverterFunction

public final class JacksonResponseConverterFunction extends Object implements ResponseConverterFunction
A response converter implementation which creates an HttpResponse with content-type: application/json; charset=utf-8 or content-type: application/json-seq. The objects published from a Publisher or Stream would be converted into JSON Text Sequences if a ProducesJsonSequences annotation is specified on an annotated service method. Note that this ResponseConverterFunction is applied to an annotated service by default, so you don't have to specify this converter explicitly unless you want to use your own ObjectMapper.
See Also:
JavaScript Object Notation (JSON) Text Sequences