Skip to main content
Module

x/web_bson/src/extended_json.ts>Options

web_bson is a fork from mongodb/js-bson
Very Popular
Go to Latest
interface Options
import { type Options } from "https://deno.land/x/web_bson@v0.2.4/src/extended_json.ts";

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