JvmBsonContext

Constructors

Link copied to clipboard
constructor(bsonFactory: BsonFactory, objectIdGenerator: ObjectIdGenerator, nameStrategy: PropertyNameStrategy)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun buildArray(block: BsonValueWriter.() -> Unit): BsonArray
open override fun buildArray(instance: BsonValueWriteable): BsonArray
Link copied to clipboard
Link copied to clipboard
open override fun <T : Any> encode(obj: T, type: KType): BsonDocument
Link copied to clipboard
open override fun newId(): ObjectId
Link copied to clipboard
open override fun pathOf(property: KProperty1<*, *>): Path
Link copied to clipboard
open override fun readArray(bytes: ByteArray): BsonArray
open override fun readArray(array: BsonArray): BsonArray
Link copied to clipboard
open override fun readDocument(bytes: ByteArray): BsonDocument
open override fun readDocument(document: BsonDocument): BsonDocument
Link copied to clipboard
open override fun readValue(value: BsonValue): BsonValue