Hacker News new | ask | show | jobs
by cgrubb 3649 days ago
jq is a command line tool and also a language for expressing transformations on JSON with concise one-liners. It is useful for processing the output of mongoexport or an elasticsearch query.

The basic constructs are "filter expressions". Pipes (|) can be used to direct the output of one filter expression to another, and commas (,) can be used to concatenate the output of two filter expressions.