Serialise value as canonical JSON, without a trailing newline.
Object keys are sorted; undefined properties and undefined array entries
are dropped and nulled respectively, exactly as JSON.stringify would; functions
and symbols are rejected rather than silently skipped, because silently losing a
field would break the reproducibility contract quietly.
Serialise
valueas canonical JSON, without a trailing newline.Object keys are sorted;
undefinedproperties andundefinedarray entries are dropped and nulled respectively, exactly as JSON.stringify would; functions and symbols are rejected rather than silently skipped, because silently losing a field would break the reproducibility contract quietly.