encode

open override fun encode(input: T): ByteArray(source)

Encodes the given input into a JSON ByteArray using the configured Jackson mapper.

Return

serialized JSON payload.

Parameters

input

domain value to serialize.