# Libbson

A Cross Platform BSON Library for C

## Introduction

libbson builds, parses, and iterates BSON documents, the native data format of MongoDB. It also converts BSON to and from JSON, and provides a platform compatibility layer for the MongoDB C Driver.

- Tutorial
  - Using libbson In Your C Program
  - Creating a BSON Document
  - Handling Errors
  - ObjectIDs
  - Parsing and Iterating BSON Documents
  - UTF-8

- Guides
  - Streaming BSON
  - JSON
  - Use Valgrind to Check For BSON Data Leaks

- Cross Platform Notes
  - Endianness
  - Threading

- API Reference
  - bson_t
  - bson_context_t
  - bson_decimal128_t
  - bson_error_t
  - bson_iter_t
  - bson_json_reader_t
  - bson_md5_t
  - bson_oid_t
  - bson_reader_t
  - Character and String Routines
  - bson_string_t
  - bson_subtype_t
  - bson_type_t
  - bson_unichar_t
  - bson_value_t
  - bson_visitor_t
  - bson_writer_t
  - System Clock
  - Memory Management
  - Libbson Versioning

Created using Sphinx 1.8.3, based on Sphinx Readable Theme.