Using jq to read keys with hyphens
curl -sSL "https://metadata.ryanparman.com/microformats2/?url=https://ryanparman.com" \
| jq '.rels | to_entries | .[] | select(.key == "structured-data") | .value'
Written by Ryan Parman
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Jq
Authors
Related Tags
#jq
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#