Defines the value for circular references.
Set to undefined
, circular properties are not serialized (array entries are replaced with null).
Set to Error
, to throw on circular references.
If true
, guarantee a deterministic key order instead of relying on the insertion order.
Maximum number of entries to serialize per object (at least one). The serialized output contains information about how many entries have not been serialized. Ignored properties are counted as well (e.g., properties with symbol values). Using the array replacer overrules this option.
Maximum number of object nesting levels (at least 1) that will be serialized.
Objects at the maximum level are serialized as "[Object]"
and arrays as "[Array]"
.
The number of white space used to format the json.
A function that influences how the info
is stringified.
If
true
, bigint values are converted to a number. Otherwise, they are ignored. This option is ignored by default as Logform stringifies BigInt in the default replacer.true