LocalDateTimeAsBsonDateTime

@ExperimentalSerializationApi
object LocalDateTimeAsBsonDateTime : KSerializer<LocalDateTime>

LocalDateTime KSerializer.

Encodes and decodes LocalDateTime objects to and from BsonDateTime. Data is stored to millisecond accuracy.

Converts the LocalDateTime values to and from UTC.

Since

5.2

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
Link copied to clipboard
val serializersModule: SerializersModule