Filter API

Filters can be implement in three different languages, but they all have similar functions

In jq, functions are prefixed with f:: In Bash, functions are prefixed with f. In Perl, functions are prefixed with f_

  • is_main (Bash only)
  • die
  • print_error