-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Modules
Fulvio Scapin edited this page Aug 28, 2021
·
7 revisions
jq has a library module system, which was introduced in version 1.5.
(A jq module is essentially a file that consists only of jq filter definitions (def
s) and/or module directives for including (include
) or importing (import
) other modules. See the link in the previous paragraph for further details.)
Currently, there is no common repository of jq modules, nor is there an official jq package manager, but this page provides a listing of some jq modules and further information about package managers. See also the following "issues" pages:
This is a non-exhaustive list of publicly available jq modules. Feel free to extend!
- https://github.com/joelpurra/jq-fallbacks
- https://github.com/joelpurra/jq-object-sorting
- https://github.com/joelpurra/jq-key-counter
- https://github.com/joelpurra/jq-zeros
- https://github.com/joelpurra/jq-stress
- https://github.com/joelpurra/jq-dry
- https://github.com/joelpurra/jq-disarray
- https://github.com/joelpurra/jq-counter-buckets
- https://github.com/joelpurra/jq-ratio-buckets
- https://github.com/nichtich/jq-jsonpointer#readme
- https://github.com/nichtich/jq-wikidata
- https://github.com/stanch/jq-modules
- https://github.com/fadado/JBOL
- https://github.com/trantor/jq-bencode
JSON Schema:
- https://github.com/fadado/JBOL#jgen - schema inference
- https://github.com/fadado/JBOL#jval - verifier
JESS (JSON Extended Structural Schemas)
- https://gist.github.com/pkoppstein/a5abb4ebef3b0f72a6ed - schema inference
- https://bitbucket.org/pkoppstein/jess - verifier
- https://github.com/joelpurra/jq-hopkok (no actual modules but useful snippets)
- https://github.com/joelpurra/jqnpm (based on a fork of jq)
- Home
- FAQ
- jq Language Description
- Cookbook
- Modules
- Parsing Expression Grammars
- Docs for Oniguruma Regular Expressions (RE.txt)
- Advanced Topics
- Guide for Contributors
- How To
- C API
- jq Internals
- Tips
- Development