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 binary encoding defined at http://bsonspec.org. 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, 0.3.2.1, 0.3.2.2, 0.3.2.3, 0.3.2.6, 0.3.2.7, 0.3.2.8
Change log CHANGELOG.md
Dependencies base (<5), binary (>=0.5 && <0.9), bytestring, cryptohash-md5 (==0.11.*), data-binary-ieee754, mtl (>=2), network (<2.9), network-bsd (>=2.7 && <2.9), text (>=0.11), time [details]
License Apache-2.0
Copyright Copyright (c) 2010-2012 10gen Inc.
Author Tony Hannan
Maintainer Fedor Gogolev <knsd@knsd.net>, Greg Weber <greg@gregweber.info>
Category Data
Home page http://github.com/mongodb-haskell/bson
Source repo head: git clone https://github.com/mongodb-haskell/bson
Uploaded by VictorDenisov at Fri Jun 14 04:22:42 UTC 2019
Distributions LTSHaskell:0.3.2.8, NixOS:0.3.2.8, Stackage:0.3.2.8
Downloads 21823 total (397 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-06-14 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
_old-network

Control whether to use network-bsd

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees