serialize

abstract fun serialize(session: Any): String

Serializes a complex arbitrary object into a String.