Type Alias EJSONOptions

EJSONOptions: {
    legacy?: boolean;
    relaxed?: boolean;
    useBigInt64?: boolean;
}

Type declaration

  • Optionallegacy?: boolean

    Output using the Extended JSON v1 spec

    false

  • Optionalrelaxed?: boolean

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

    false

  • OptionaluseBigInt64?: boolean

    Enable native bigint support

    false