AGPL-3.0-or-later · forever.

the standard library

nika:json_merge_patch

RFC 7396 merge patch (null deletes a key) over a target object. 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
  • craftedusage filecheck-green below

the contract

2 args · 2 required

A 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.

target*
object
patch*
object

in a real file

a complete workflow
json_merge_patch.nika.yaml
nika: v1workflow:  id: patch-the-config  description: "RFC 7396 — set a key, null deletes one"tasks:  merge:    invoke:      tool: "nika:json_merge_patch"      args:        target: { retries: 3, level: "info", legacy: true }        patch: { level: "debug", legacy: null }outputs:  config: ${{ tasks.merge.output }}

a complete file, nika check green; the drift gate re-validates this copy against the schema on every test run. open it in the playground →

cross-references

ships in skeletons

no skeleton ships it; the crafted file above is the reference.

the check gates

the data family

9 tools

pure 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 →