Package-level declarations
Functions
Link copied to clipboard
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
Link copied to clipboard
fun <T : Any> KotlinxSessionSerializer(serializer: KSerializer<T>, format: StringFormat): SessionSerializer<T>
Returns a SessionSerializer based on kotlinx.serialization
library.