Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function Bson.EJSON.deserialize
import { Bson } from "https://deno.land/x/exodus@0.1.8/deps.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: EJSON.Options
  • Optional settings passed to the parse method