Size: 349
Comment:
|
Size: 723
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 14: | Line 14: |
* [[attachment:jq-1.4-i486-1_SBo.tgz]] == Change values == '''test.json''' {{{#!highlight javascript { "keyx":12, "keyz":"ddff" } }}} {{{#!highlight bash jq '.keyx = 55 | .keyz = "otherVal"' test.json # output { "keyx": 55, "keyz": "otherVal" } }}} == Get value from key == {{{#!highlight bash jq '.keyx' test.json # output 12 }}} |
jq
jq is a lightweight and flexible command-line JSON processor.
Slackbuild
Change values
test.json