ts-lambda-api - v2.5.2
    Preparing search index...

    Type Alias ToJSOptions

    type ToJSOptions = {
        mapAsMap?: boolean;
        maxAliasCount?: number;
        onAnchor?: (value: unknown, count: number) => void;
        reviver?: Reviver;
    }
    Index

    Properties

    mapAsMap?: boolean

    Use Map rather than Object to represent mappings.

    Default: false

    maxAliasCount?: number

    Prevent exponential entity expansion attacks by limiting data aliasing count; set to -1 to disable checks; 0 disallows all alias nodes.

    Default: 100

    onAnchor?: (value: unknown, count: number) => void

    If defined, called with the resolved value and reference count for each anchor in the document.

    reviver?: Reviver