Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

A Deno library to interface with the Discord API
Latest
function Bson.EJSON.deserialize
import { Bson } from "https://deno.land/x/aether@v0.0.3/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: Options
  • Optional settings passed to the parse method