JacksonCodec
class JacksonCodec<T : Any>(val name: String, val mapper: ObjectMapper, val sourceClass: KClass<T>, val sourceType: JavaType = mapper.typeFactory.constructType(sourceClass.java)) : Codec<T, ByteArray> (source)
ByteArrayCodec implementation that delegates JSON processing to a Jackson ObjectMapper.
Parameters
T
domain type handled by the codec.
Properties
Link copied to clipboard
runtime KClass representing the decoded type.
Link copied to clipboard
full Jackson type used for decoding generic payloads safely.
Link copied to clipboard