Skip to main content

Module diff

Module diff 

Source
Expand description

KOBOLD.JSON.DIFF.1 – a per-path structural diff between two packets (or any two JSON values).

The diff walks both trees in actual’s order (then reports keys present only in expected), emitting a DiffEntry per leaf difference with a JSON-pointer-ish path (/fields/AMT/value). It is deterministic and independent of GnuCOBOL/libcob. Useful to prove two evidence packets agree – or to show exactly where a migration’s actual output diverges from the expected golden packet.

Structs§

DiffEntry
One difference between two values at a path.

Enums§

DiffKind
The kind of a DiffEntry.

Functions§

diff
KOBOLD.JSON.DIFF.1 – list every per-path difference between actual and expected. An empty result means the two values are structurally identical.