ijq - interactive jq
*ijq* [*-cnsrRMSV*] [*-f* _file_] [_filter_] [_files ..._]
*ijq* is a near drop-in replacement for *jq* that allows you to interactively
see the results of your filter as you construct it.
*ijq* contains two panes and an input field: the left pane is the output result
of the provided filter and the right pane contains the original, unmodified
input data. When you are finished, press Return or Ctrl-C to exit. The filtered
output will be written to standard output and your filter will be written to
If _files_ is omitted then *ijq* reads data from standard input.
All of the options mirror the options from *jq*. The options are:
Use compact instead of pretty-printed output.
Don't read any input. Useful for using *ijq* as a calculator or to
construct JSON data from scratch.
Read all input into a single array and apply the given filter to it.
If the filter output is a string it will be written directly to standard
output rather than being formatted as a JSON string with quotes. Useful
for using *ijq* in a pipeline with other programs that expect normal
Don't parse the input as JSON, instead passing each line of input to the
filter as a string. If combined with *-s* then the entire input is
passed to the filter as a single long string.
Disable colored output.
Output the fields of each object with the fields in sorted order.
Read the filter from _file_. When this option is used, all positional
arguments (if any) are interpreted as input files.
See https://asciinema.org/a/333292 for a demo.
# SEE ALSO
# BUGS AND CONTRIBUTING
Send pathces and bug reports to ~email@example.com.
Gregory Anders <firstname.lastname@example.org>