Type alias EJSONOptions

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

Type declaration

  • Optional legacy?: boolean

    Output using the Extended JSON v1 spec

    Default Value

    false

  • Optional relaxed?: boolean

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

    Default Value

    false

  • Optional useBigInt64?: boolean

    Enable native bigint support

    Default Value

    false

Generated using TypeDoc