Kotlin BSON • Multiplatform abstraction for different BSON implementations • opensavvy.ktmongo.bson • BsonValueWriteable
BsonValueWriteable¶
interface BsonValueWriteable
An object that can be represented as a BSON value (value of a field, item in an array, an array itself).
Functions¶
toString¶
JSON representation of this object.
writeTo¶
@LowLevelApi
abstract fun writeTo(writer: BsonValueWriter)
Writes this object to the provided writer.