MapperSerializationStrategy

fun <I, O> MapperSerializationStrategy(base: SerializationStrategy<I>, serialize: (O) -> I)

Parameters

base

Serializer for I

serialize

Will be used in serialize method to convert incoming O to I and serialize with base