Package com.mongodb

Class KotlinCodecProvider

java.lang.Object
com.mongodb.KotlinCodecProvider
All Implemented Interfaces:
CodecProvider

public class KotlinCodecProvider extends Object implements CodecProvider
A CodecProvider for Kotlin data classes. Delegates to org.bson.codecs.kotlinx.KotlinSerializerCodecProvider and falls back to org.bson.codecs.kotlin.DataClassCodecProvider. If neither bson-kotlin package nor the bson-kotlinx package is available, provides null.
Since:
4.10