Like JSON.stringify but supports bigint, omits non-serialisable values, detects cycles, pretty-prints with 2-space indents and sorts object keys alphabetically so the output is deterministic.
JSON.stringify
Optional
Like
JSON.stringify
but supports bigint, omits non-serialisable values, detects cycles, pretty-prints with 2-space indents and sorts object keys alphabetically so the output is deterministic.