Expand description
The canonical JSON every snapshot and “unchanged” decision compares:
keys sorted at every depth, two-space pretty print, trailing newline —
ir.mjs::canonicalJson. Sorting is explicit because serde_json’s own
object order depends on a cargo feature another crate may enable.
Functions§
- canonical_
json - Stable, secret-free JSON of a value.
- sort_
keys - Every object’s keys sorted, at every depth.