Skip to main content

Module json

Module json 

Source
Expand description

JSON formatter for diff results.

The JSON shape here is frozen at v1.0 with an explicit version: 1 field on the root. New fields may be added (additive only); existing fields cannot be renamed or removed without bumping version. CI consumers can branch on version to support a future v2 schema. See IMPLEMENTATION.md §12 / §2.5.

Wire types are deliberately separate from crate::diff / crate::resource types so refactoring a domain type cannot accidentally change the public JSON contract. Conversion happens at the boundary in From impls.

Functions§

render