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.Options

A Deno library to interface with the Discord API
Latest
interface Bson.EJSON.Options
import { type Bson } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { Options } = Bson.EJSON;

EJSON parse / stringify API

Properties

optional
legacy: boolean

Output using the Extended JSON v1 spec

optional
relaxed: boolean

Enable Extended JSON's relaxed mode, which attempts to return native JS types where possible, rather than BSON types

optional
deprecated
strict: boolean

Disable Extended JSON's relaxed mode, which attempts to return BSON types where possible, rather than native JS types