the standard library
nika:json_diff
JSON diff · returns an RFC 6902 JSON Patch. One of 28 builtins in the closed nika: namespace.
the data familypure JSON/data transforms, no I/O
- datafamily9 tools
- 2argsdeclared contract
- 2requiredcheck teaches a miss
- 1skeletonsship this tool
the contract
2 args · 2 requiredA missing required arg is a nika check finding before anything runs; the vocabulary below comes from the binary itself (nika catalog --tools --json), not from prose.
- before*
- the original value
- after*
- the new value
in a real file
from the etl-state skeletonetl-state.nika.yaml
delta: with: # the bindings ARE the edges · previous + fresh → delta previous: ${{ tasks.previous.output }} fresh: ${{ tasks.fresh.output }} invoke: tool: "nika:json_diff" # RFC 6902 · empty patch = nothing new args: before: "${{ with.previous }}" after: "${{ with.fresh }}"a verbatim excerpt, real line numbers from etl-state.nika.yaml, conformance-gated upstream on every spec push. open the full skeleton →
cross-references
ships in skeletons
the check gates
the data family
9 toolspure JSON/data transforms, no I/O.
Machines read the same vocabulary at /tools/catalog.json; the contract lives in spec 06 · stdlib. Install and ask the binary itself: nika catalog --tools. Read the spec →