BsonArray

interface BsonArray(source)

A BSON array.

To create instances of this class, see BsonFactory.

Implementation constraints

equals and hashCode should follow the same constraints as BsonArrayReader's implementations.

Functions

Link copied to clipboard
infix fun BsonArray.diff(other: BsonArray): String?

Analyzes the difference between two BSON arrays.

Link copied to clipboard

Reads the elements of this array.

Link copied to clipboard
abstract fun toByteArray(): ByteArray

Low-level byte representation of this BSON document.

Link copied to clipboard
abstract override fun toString(): String

JSON representation of this BsonArray, as a String.