Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 432 Bytes

jq.md

File metadata and controls

16 lines (15 loc) · 432 Bytes

JSON Formatter

jq is a well known command line utility aimed for pretty printing common json files or format json streams in a human friendly and legible output.

Basic usage

# Easy usage on a common json file
jq '.' filename.json
# Or format something from a stream
cat filename.json | jq '.' -

Keeping colors

Everybody loves colors and using less might help too.

jq '.' -C filename.json |less -R