Skip to content

Companion

object Companion

Functions

document

hex

fun hex(@Language



(value = "HEXDUMP") hex: String): BsonDeclaration

json

fun json(@Language



(value = "MongoDB-JSON") json: String): BsonDeclaration

serialize

fun serialize(
    obj: Any, 
    type: KType, 
    klass: KClass<*>
): BsonDeclaration
inline fun <T : Any> serialize(obj: T): BsonDeclaration

verify