@hackage / bson

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

Latest0.4.0.1

About

Metadata

  • Last updated , by VictorDenisov
  • License Apache-2.0
  • Maintained by: Fedor Gogolev <knsd@knsd.net>, Greg Weber <greg@gregweber.info>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    _old-network (on by default)

    Control whether to use network-bsd

Readme

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.