bson

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

http://github.com/mongodb-haskell/bson

Version on this page:0.3.1@rev:1
LTS Haskell 22.17:0.4.0.1
Stackage Nightly 2024-04-19:0.4.0.1
Latest on Hackage:0.4.0.1

See all snapshots bson appears in

LicenseRef-OtherLicense licensed by Tony Hannan
Maintained by Fedor Gogolev, Greg Weber
This version can be pinned in stack with:bson-0.3.1@sha256:818e42e154833797ccce87c200bccc45c5dcdaf924e1b14e9e8eb2230d2ff8c0,2389

Module documentation for 0.3.1

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 http://bsonspec.org. This implements version 1 of that spec.