Skip to main content
Module

x/atlas_sdk/mod.ts>EJSON.deserialize

TypeSafe MongoDB Atlas Data API SDK for Deno & Deno Deploy
Go to Latest
function EJSON.deserialize
import { EJSON } from "https://deno.land/x/atlas_sdk@v0.2.0/mod.ts";
const { deserialize } = 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