Expand description
Standard library for the jq language.
The standard library provides a set of filters.
These filters are either implemented as definitions or as functions.
For example, the standard library provides the map(f) filter,
which is defined using the more elementary filter [.[] | f].
If you want to use the standard library in jaq, then
you’ll likely only need funs and defs.
Most other functions are relevant if you
want to implement your own native filters.
Modules§
- input
- Native implementations of
inputsandinput.
Traits§
- ValT
- Values that the standard library can operate on.
Functions§
- base_
funs - Minimal set of filters that are generic over the value type.
Return the minimal set of named filters available in jaq
which are implemented as native filters, such as
length,keys, …, but notnow,debug,fromdateiso8601, … - defs
- Definitions of the standard library.
- extra_
funs - Supplementary set of filters that are generic over the value type.
- funs
- Named filters available by default in jaq
which are implemented as native filters, such as
length,keys, …, but alsonow,debug,fromdateiso8601, …