reflectionSessionSerializer

inline fun <T : Any> reflectionSessionSerializer(): <Error class: unknown class><T>
fun <T : Any> reflectionSessionSerializer(typeInfo: KType): <Error class: unknown class><T>

A reflection-based session serializer. Can be used for backward compatibility with previous versions. A serialized format is textual and optimized for size as it could be transferred via HTTP headers or cookies.