= jq =
jq is a lightweight and flexible command-line JSON processor.

== Slackbuild ==
{{{#!highlight bash
cd /tmp
wget https://slackbuilds.org/slackbuilds/14.2/system/jq.tar.gz
tar xvzf jq.tar.gz
cd jq
wget https://github.com/stedolan/jq/releases/download/jq-1.4/jq-1.4.tar.gz
./jq.SlackBuild
installpkg /tmp/jq-1.4-i486-1_SBo.tgz
}}}
 * [[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"
}
}}}