LocalDateAsBsonDateTime

@ExperimentalSerializationApi
object LocalDateAsBsonDateTime : KSerializer<LocalDate>

LocalDate KSerializer.

Encodes and decodes LocalDate objects to and from BsonDateTime.

Converts the LocalDate values to and from UTC.

Since

5.2

Functions

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor
Link copied to clipboard
val serializersModule: SerializersModule