notes/Parse JSON in the Linux Shell BASH-w1GtRG6U.sh
#https://stedolan.github.io/jq/tutorial/



#Get Formatted Address from Google Maps API JSON

wget -O- -q "http://maps.google.com/maps/api/geocode/json?address=123 pine street&sensor=false"|jq -r '.results[0]|{"formatted_address"}'

#or just result
wget -O- -q "http://maps.google.com/maps/api/geocode/json?address=123 pine street&sensor=false"|jq -r '.results[0]|.formatted_address'

syntax highlighted by Code2HTML, v. 0.9.1