draft article
install jq (Centos 7)
#yum provides jq yum install -y jq
just format output
cat sample.json |jq '.'
cat sample.json |jq '.[] | select(.country=="ua")'
draft article
#yum provides jq yum install -y jq
cat sample.json |jq '.'
cat sample.json |jq '.[] | select(.country=="ua")'