jq supports functions and new keywords.
October 24th, 2020 by admin
Jq has now added support for:
- Functions – {x+1}. Unnamed parameters beyond x don’t yet work so please name all your parameters.
- Keyed table operations: xkey, 1!, 2!, keys, value.
- New keywords supported: in, distinct, inter, except, rank, sv, vs, sum, prd, xlog.
- Improved compatibility and support of: null, avg, var, iasc, upper, lower, fills, fill, ^, sublist, prds, sums.
The added keywords in most cases will only support the most common types and arguments.
Mixed lists in particular are not handled well by most keywords but we will continue to improve.