Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/web_bson/src/extended_json.ts

web_bson is a fork from mongodb/js-bson
Go to Latest
import * as webBson from "https://deno.land/x/web_bson@v0.2.4/src/extended_json.ts";

Functions

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.

Interfaces

EJSON parse / stringify API