Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 243 Bytes

jq.md

File metadata and controls

13 lines (8 loc) · 243 Bytes

jq

# Schema

echo 'def schema: path(..) | map(tostring) | join("/");' >> ~/.jq
jq schema

with_entries(.value |= .ip)  # get key and .ip attr for all objects in hash

jq -C . blah.json | less -R     # pipe to less with colour