Skip to content
Tyler Brock edited this page Apr 22, 2014 · 42 revisions

The C++ driver builds successfully on Linux, Mac OS X, Windows, FreeBSD and Solaris.

The MongoDB C++ driver library includes a bson package that implements the BSON specification (see http://www.bsonspec.org). This library can be used standalone for object serialization and deserialization even when one is not using MongoDB at all.

Getting Started

Documentation

Standalone Usage You can use the C++ BSON library without MongoDB. Most BSON methods under the bson/ directory are header-only. They require boost, but headers only.

See the bsondemo.cpp example at github.com

API Documentation http://api.mongodb.org/cplusplus

Clone this wiki locally