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

[ apache, data, library ] [ Propose Tags ]

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 bin

A BSON Document is serialized to a standard binary encoding defined at This implements version 1 of that spec.

Versions [faq] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3, 0.3.1, 0.3.2,,,,,
Dependencies base (<4.4), binary, bytestring, compact-string-fix, data-binary-ieee754, mtl, nano-md5, network (<2.9), time, unix [details]
License LicenseRef-OtherLicense
Author Tony Hannan
Maintainer Tony Hannan <>
Revised Revision 1 made by HerbertValerioRiedel at Mon Feb 4 11:30:34 UTC 2019
Category Data
Home page
Uploaded by TonyHannan at Tue Jun 15 16:13:18 UTC 2010
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 17943 total (509 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees