Skip to main content
Module

x/mongo/mod.ts>Bson.EJSON.deserialize

MongoDB driver for Deno
Extremely Popular
Go to Latest
function Bson.EJSON.deserialize
import { Bson } from "https://deno.land/x/mongo@v0.31.0/mod.ts";
const { deserialize } = Bson.EJSON;

Deserializes an Extended JSON object into a plain JavaScript object with native/BSON types

Parameters

ejson: Document
  • The Extended JSON object to deserialize
optional
options: Options
  • Optional settings passed to the parse method