bson

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

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

LTS Haskell 22.40:0.4.0.1
Stackage Nightly 2024-11-04: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.4.0.1@sha256:1ac7d312152a2d6262cb1950bcc002e18cc8b177ddb758264b770501aa0ec925,2834

Module documentation for 0.4.0.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.

Changes

Change Log

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

[0.4.0.1] - 2020-03-22

Fixed

  • MonadFail usage

[0.4.0.0] - 2020-02-08

Fixed

  • Compatibility with GHC 8.8

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