serialize

fun serialize(session: Any): String

Overrides SessionSerializer.serialize

Serializes a complex arbitrary object into a String.