Expand description
The jq function, which applies a jq program to a jsonb value.
Programs run on jaq, a Rust implementation of jq. The available filters
are jaq’s standard library minus those whose result depends on the
machine or the moment (now, env, localtime, input, …), so that
every replica computes the same answer. Module imports are not supported.
NOTE: jaq has no evaluation budget. A program that loops forever stalls the worker evaluating it, and a program that recurses without bound overflows that worker’s stack.
Structs§
- Jq
- Applies a literal jq program to a
jsonbvalue. SeeJqProgram::eval. - JqProgram
- A compiled jq program.
Constants§
- WITHHELD 🔒
- Native filters withheld from programs, because their results depend on the environment, they read input other than the argument, or they write to the process’s log or stderr.
Functions§
- compile 🔒
- error 🔒
- exception 🔒
- syntax_
error 🔒 - Describes a syntax error at
at, a suffix ofprogram. - to_val 🔒
- Converts a
jsonbdatum into a jaq value.