# Libbson

## A Cross Platform BSON Library for C

## Installation

Installing from Source
Supported Platforms

## Getting Started

Creating a BSON Document
Handling Errors
ObjectIDs
Parsing and Iterating BSON Documents
UTF-8

## Streaming BSON

Reading from a BSON Stream
Writing a sequence of BSON Documents

## JSON

Converting BSON to JSON
Converting JSON to BSON
Streaming JSON Parsing

## Cross Platform Notes

Endian Concerns
Threading

## Performance Notes

Array Element Key Building

## API Reference

Libbson Versioning
Memory Management
System Clock
bson_context_t
bson_error_t
bson_iter_t
bson_json_reader_t
bson_md5_t
bson_oid_t
bson_reader_t
bson_string_t
bson_subtype_t
bson_t
bson_type_t
bson_unichar_t
bson_value_t
bson_visitor_t
bson_writer_t