MapperSerializationStrategy

constructor(base: SerializationStrategy<I>, serialize: (O) -> I)(source)


constructor(base: SerializationStrategy<I>, internalSerialize: (Encoder, O) -> I)(source)

Parameters

base

Serializer for I

internalSerialize

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