json4shell
json4shell copied to clipboard
Substitute mode for json-iter
Found need for 'substitute' mode - add/replace element of object (inside array) based on output of program with specified args.
Example:
[
{ "uuid":
cat example.json|json-iter --substitute --key-name='owner' get-owner {.uuid}
result:
[
{ "uuid":