import { Bson } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { serialize } = Bson.EJSON;
Serializes an object to an Extended JSON string, and reparse it as a JavaScript object.
Parameters
value: SerializableTypes
- The object to serialize
optional
options: Options- Optional settings passed to the
stringify
function