here without modifying the yum source, and install it directly from the source code.
Refer to following :
https://stedolan.github.io/jq/download/Use
cat xxx.json | jq .
write scripts
result=$(curl http://xxxxx) echo $result | jq .
cat xxx.json | jq .
result=$(curl http://xxxxx) echo $result | jq .