bson

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

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

Version on this page:0.3.2.8
LTS Haskell 22.17:0.4.0.1
Stackage Nightly 2024-04-14:0.4.0.1
Latest on Hackage:0.4.0.1

See all snapshots bson appears in

Apache-2.0 licensed by Tony Hannan
Maintained by Fedor Gogolev, Greg Weber
This version can be pinned in stack with:bson-0.3.2.8@sha256:982535661950d91daab52a97a3d94fcd3c26dfff568d52c9732fd999d93ec2b6,2820

Module documentation for 0.3.2.8

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.

Changes

Change Log

All notable changes to this project will be documented in this file. This project adheres to Package Versioning Policy.

[0.3.2.8] - 2019-06-13

Fixed

  • Compatibility with network 3

[0.3.2.7] - 2018-12-17

Fixed

  • Fix compilation on GHC < 7.10

[0.3.2.6] - 2018-05-14

Added

  • Simple deprecated types: 0x0C and 0x06

[0.3.2] - 2015-10-28

Added

  • Old binary UUID subtype.