Skip to content
Haskell representation and serialization of BSON documents (version 1.0) as defined at bsonspec.org
Branch: master
Clone or download
#16 Compare This branch is 36 commits ahead of mongodb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Data
tests
.gitignore
.travis.yml
LICENSE
README.md
Setup.lhs
bson.cabal

README.md

bson-haskell Build Status

Haskell library for the encoding and decoding BSON documents, which are JSON-like objects with a standard binary encoding, defined at http://bsonspec.org. This library implements version 1 of that spec.

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

You can’t perform that action at this time.