serialize

fun serialize(session: T): String

Overrides SessionSerializer.serialize

Serializes a complex arbitrary object into a String.