Skip to main content
Module

x/denodb/deps.ts>Bson.EJSON.deserialize

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Go to Latest
function Bson.EJSON.deserialize
import { Bson } from "https://deno.land/x/denodb@v1.0.40/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