Expand description
JSON normalization for consistent Git diffs
Functions§
- format_
json - Format JSON with consistent formatting (2-space indent, trailing newline, sorted keys)
- normalize
- Normalize a JSON value for consistent Git diffs
- normalize_
for_ disk - Normalize a resource for storage on disk: strips the kind’s volatile and
read-only fields (registry-driven) while preserving Azure’s property order.
Rigg-local
x-rigg-*annotations are kept. - normalize_
for_ push - Normalize a resource for pushing to Azure: everything
normalize_for_diskstrips, plus allx-rigg-*annotation keys at any depth. - redact_
credentials - Strip sensitive fields from credentials objects
- semantic_
eq - Are two documents semantically equal for this kind (after normalization)?
- strip_
x_ rigg_ keys - Remove every
x-rigg-*key at any depth (Rigg-local annotations).