Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

draft article

install jq (Centos 7)

Code Block
#yum provides jq
yum install -y jq


just format output

Code Block
cat sample.json |jq '.'


Code Block
cat sample.json |jq '.[] | select(.country=="ua")'