Skip to content

Kotlin BSON • Multiplatform abstraction for different BSON implementations

Kotlin Multiplatform-ready implementation of BSON.

This module is centered around the BsonValueWriter and BsonFieldWriter classes. Together, they provide a low-level API to write arbitrary BSON.

This module is the basis for the rest of the driver: if this module can be implemented on a platform, the rest of the driver mostly likely can as well.

Packages

opensavvy.ktmongo.bson

Utilities to read and write BSON.

opensavvy.ktmongo.bson.types

Data types contained in the BSON specification.