jq
jq is a lightweight and flexible command-line JSON processor.
Slackbuild
Change values
test.json
1 jq '.keyx = 55 | .keyz = "otherVal"' test.json
jq is a lightweight and flexible command-line JSON processor.
test.json
1 jq '.keyx = 55 | .keyz = "otherVal"' test.json