import * as webBson from "https://deno.land/x/web_bson@v0.2.5/src/bson.ts";
Classes
A class representation of the BSON RegExp type. | |
A class representation of the BSON Symbol type. | |
c Code | A class representation of the BSON Code type. |
A class representation of the BSON DBRef type. | |
A class representation of the BSON Decimal128 type. | |
A class representation of the BSON Double type. | |
A class representation of a BSON Int32 type. | |
c Long | A class representing a 64-bit integer |
A class representation of the BSON MaxKey type. | |
A class representation of the BSON MinKey type. | |
A class representation of the BSON ObjectId type. | |
c UUID | A class representation of the BSON UUID type. |
Variables
Binary Default Type @internal | |
Any integer up to 2^53 can be precisely represented by a double. | |
Any integer down to -2^53 can be precisely represented by a double. | |
Functions
Calculate the bson size for a passed in Javascript object. | |
Deserialize data as BSON. | |
Deserialize stream data as BSON documents. | |
Deserializes an Extended JSON object into a plain JavaScript object with native/BSON types | |
Parse an Extended JSON string, constructing the JavaScript value or object described by that string. | |
Serializes an object to an Extended JSON string, and reparse it as a JavaScript object. | |
Converts a BSON document to an Extended JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified. | |
Serialize a Javascript object. | |
Serialize a Javascript object using a predefined Buffer and index into the buffer, useful when pre-allocating the space for serialization. | |
Sets the size of the internal serialization buffer. |
Interfaces
EJSON parse / stringify API | |