KotlinxBackwardCompatibleSessionSerializer
inline fun <T : Any> KotlinxBackwardCompatibleSessionSerializer(serializersModule: SerializersModule = EmptySerializersModule()): SessionSerializer<T>
fun <T : Any> KotlinxBackwardCompatibleSessionSerializer(serializer: KSerializer<T>, serializersModule: SerializersModule = EmptySerializersModule()): SessionSerializer<T>
Returns a SessionSerializer based on kotlinx.serialization
library that is backward compatible with previous default serializer. In general, it's discouraged to use this format, and it's recommended to migrate your sessions to another format, such as JSON