Kotlin BSON • Based on the official MongoDB implementation • opensavvy.ktmongo.bson.official • JvmBsonFactory
JvmBsonFactory¶
interface JvmBsonFactory : BsonFactory
BSON implementation based on the official Java and Kotlin MongoDB drivers.
Properties¶
codecRegistry¶
@LowLevelApi
abstract val codecRegistry: CodecRegistry
Functions¶
buildArray¶
open override fun buildArray(instance: ERROR CLASS: Symbol not found for BsonValueWriteable): BsonArray
abstract override fun buildArray(block: ERROR CLASS: Symbol not found for BsonValueWriter.() -> Unit): BsonArray
@LowLevelApi
abstract override fun buildArray(block: BsonValueWriter.() -> Unit): BsonArray
buildDocument¶
open override fun buildDocument(instance: ERROR CLASS: Symbol not found for BsonFieldWriteable): Bson
abstract override fun buildDocument(block: ERROR CLASS: Symbol not found for BsonFieldWriter.() -> Unit): Bson
@LowLevelApi
abstract override fun buildDocument(block: BsonFieldWriter.() -> Unit): Bson
readArray¶
readDocument¶
@LowLevelApi
abstract override fun readDocument(bytes: ByteArray): Bson