jacksonCodec
inline fun <T : Any> jacksonCodec(name: String, mapper: ObjectMapper? = null): JacksonCodec<T>(source)
Builds a JacksonCodec for the requested type T.
Return
a JacksonCodec bound to the requested type.
Parameters
T
domain type handled by the codec.
name
human readable identifier used in error messages.
mapper
optional mapper override; defaults to defaultObjectMapper.