NAME

Insert - Insert value into structure

OPTIONS

--[no]blame

Blame calculation toggle. Enabled by default.

--boolean <true|false|1|0>

Boolean value to insert.

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

--file|-f <file>

Load inserting value from file.

--file-fmt <RAW|JSON|YAML>

Input file format.

--null|--undef

Insert null value.

--number <number>

Number to insert.

--path <path>

Path in the structure to deal with. May be used several times.

--preserve <path>

Preserve specified substructure. May be used several times.

--string <string>

String to insert.

--structure <JSON>

JSON structure to insert.

SEE ALSO

ndproc, ndproc-modules

nddiff, ndquery, Struct::Path::PerlStyle