YearAsStringSerializer

object YearAsStringSerializer : KSerializer<Year> (source)

Serializes a Year to a string. Example: "2020"

Functions

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor