The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Patch - Apply JSON Patch (rfc6902) patches

OPTIONS

--[no]blame

Blame calculation toggle. Enabled by default.

--cond <path>

Apply rule when condition met only. Condition is met when path leads to at least one item in the structure. May be used several times (in this case conditions are AND'ed).

--path <path>

Path in the structure to patch. May be used several times. Whole structure will be patched if omitted or empty.

--preserve <path>

Preserve specified substructure. May be used several times.

--source <uri>

Source containing patch.

--strict

Fail if path specified for patch doesn't exist.

SEE ALSO

ndproc, ndproc-modules

nddiff, ndquery, Struct::Path::PerlStyle