serializer

abstract val serializer: KSerializer<T>

Serializer for the value. It's not guaranteed the serializer will be used by the implementation. The implementation can decide, based on the serializer and/or type, to use a faster way of storing the value without serialization.