DayOfWeekSerializer

object DayOfWeekSerializer : KSerializer<DayOfWeek>

A serializer for DayOfWeek that represents the values as strings.

JSON example: "MONDAY"

Functions

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor