Module

x/atlas_sdk3/mod.ts>EJSON.Options

TypeSafe MongoDB Atlas Data API SDK for Deno & Deno Deploy
Latest
interface EJSON.Options
import { type EJSON } from "https://dotland.deno.dev/x/atlas_sdk3@v0.3.1/mod.ts";
const { Options } = 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