BSON documents are JSON-like objects with a standard binary encoding.

LTS Haskell 10.6:
Stackage Nightly 2018-02-22:
Latest on Hackage:

See all snapshots bson appears in

OtherLicense licensed by Tony Hannan
Maintained by Fedor Gogolev, Greg Weber

Module documentation for

A BSON Document is an untyped (dynamically type-checked) record. I.e. it is a list of name-value pairs, where a Value is a single sum type with constructors for basic types (Bool, Int, Float, String, and Time), compound types (List, and (embedded) Document), and special types (Binary, Javascript, ObjectId, RegEx, and a few others). A BSON Document is serialized to a standard binary encoding defined at This implements version 1 of that spec.


Change Log

All notable changes to this project will be documented in this file. This project adheres to Package Versioning Policy. ## [0.3.2] - 2015-10-28


  • Old binary UUID subtype.
comments powered byDisqus