LocalDateTimeComponentSerializer

object LocalDateTimeComponentSerializer : KSerializer<LocalDateTime>

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

JSON example: {"year":2008,"month":7,"day":5,"hour":2,"minute":1}

Functions

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor