import { Bson } from "https://deno.land/x/denodb@v1.4.0/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