Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

A Deno library to interface with the Discord API
Latest
function Bson.EJSON.serialize
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

  • The object to serialize
optional
options: Options
  • Optional settings passed to the stringify function