https://github.com/mongodb/bson-haskell
Haskell representation and serialization of BSON documents (version 1.0) as defined at bsonspec.org
https://github.com/mongodb/bson-haskell
Last synced: 4 months ago
JSON representation
Haskell representation and serialization of BSON documents (version 1.0) as defined at bsonspec.org
- Host: GitHub
- URL: https://github.com/mongodb/bson-haskell
- Owner: mongodb
- License: apache-2.0
- Archived: true
- Created: 2011-12-22T16:14:32.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-01-20T16:58:04.000Z (over 3 years ago)
- Last Synced: 2024-12-20T20:04:25.939Z (5 months ago)
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/bson
- Size: 34.2 KB
- Stars: 11
- Watchers: 48
- Forks: 44
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# End of Life Notice
The MongoDB bson-haskell library is now officially end-of-life (EOL). No further development, bugfixes, enhancements, documentation changes or maintenance will be provided by this project and pull requests will no longer be accepted.## About
Haskell library for the BSON encoding. Used in MongoDB.
BSON documents are JSON-like objects with a standard binary encoding.
A BSON Document is serialized to a standard binary encoding defined at . This implements version 1 of that spec.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).