Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # install jq
- sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- sudo yum install jq -y
- jq --version
- # usage
- $ echo '{
- "response": [{
- "id": "1",
- "name": "Rachel Green"
- }, {
- "id": "2",
- "name": "Sheldon Cooper"
- }]
- }' | jq .'response'
Add Comment
Please, Sign In to add comment