KotlinSerializerCodec

class KotlinSerializerCodec<T : Any> : Codec<T>

The Kotlin serializer codec which utilizes the kotlinx serialization module.

Use the create method to create the codec

Types

Link copied to clipboard
object Companion

KotlinSerializerCodec companion object

Functions

Link copied to clipboard
open override fun decode(reader: BsonReader, decoderContext: DecoderContext): T
Link copied to clipboard
open override fun encode(writer: BsonWriter, value: T, encoderContext: EncoderContext)
Link copied to clipboard
open override fun getEncoderClass(): Class<T>