BSON
Functions for encoding and decoding BSON documents.
Summary
decode(binary) | Decode |
encode(map) | Encode a BSON document to |
Types
t :: document | String.t | atom | number | boolean | BSON.Binary.t | BSON.ObjectId.t | BSON.DateTime.t | BSON.Regex.t | BSON.JavaScript.t | BSON.Timestamp.t | [t]
Functions
Specs:
- decode(iodata) :: document
Decode iodata
to a BSON document.
Specs:
- encode(document) :: iodata
Encode a BSON document to iodata
.