encode

abstract fun encode(value: T): String

Serializes value into text suitable for storage.