UUIDComponentSerializer

object UUIDComponentSerializer : KSerializer<UUIDComponent>

Serializer for UUIDComponent that encodes as a plain UUID string.

Example: "550e8400-e29b-41d4-a716-446655440000" instead of {"uuid":"..."}

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): UUIDComponent
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: UUIDComponent)