LocalTimeComponentSerializer

object LocalTimeComponentSerializer : KSerializer<LocalTime>

A serializer for LocalTime that represents a value as its components.

JSON example: {"hour":12,"minute":1,"second":3,"nanosecond":999}

Functions

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor