interface Options {
    legacy?: boolean;
    relaxed?: boolean;
    strict?: boolean;
}

Properties

legacy?: boolean

Output using the Extended JSON v1 spec

relaxed?: boolean

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

strict?: boolean

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

Deprecated

Please use the relaxed property instead

Generated using TypeDoc