KotlinxSessionSerializer

inline fun <T : Any> KotlinxSessionSerializer(format: StringFormat): SessionSerializer<T>
fun <T : Any> KotlinxSessionSerializer(serializer: KSerializer<T>, format: StringFormat): SessionSerializer<T>

Returns a SessionSerializer based on kotlinx.serialization library.