Serializer

Serializer for the official opensavvy.ktmongo.bson.official.BsonValue implementation.

This serializer only supports the official MongoDB library org.bson:bson-kotlinx.

If support for other formats is important to you, please comment on the tracking issue.

Properties

descriptor
Link copied to clipboard
abstract override val descriptor: SerialDescriptor
open override val descriptor: SerialDescriptor

Functions

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