Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# libbson - API

A Cross Platform BSON Library for C

This site documents the API. For tutorials, guides, and explainers, see MongoDB C Driver.

## 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.

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