LocalTimeAsBsonDateTime

@ExperimentalSerializationApi
object LocalTimeAsBsonDateTime : KSerializer<LocalTime>

LocalTime KSerializer.

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

Converts the LocalTime values to and from EpochDay at UTC.

Since

5.2

Functions

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

Properties

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