# mapSerialization

inline fun < I : Any , O > SerializationStrategy< I >. mapSerialization (noinline serialize: ( O ) -> I ): MapperSerializationStrategy < I , O >(source)
inline fun < I : Any , O > KClass < I >. mapSerialization (serializer: SerializationStrategy< I > = serializer(), noinline serialize: ( O ) -> I ): MapperSerializationStrategy < I , O >(source)

Will create MapperSerializationStrategy to allow you to map O to I using serialize lambda during serialization process