jq-mode
counsel-jq
Our great sponsors
jq-mode | counsel-jq | |
---|---|---|
2 | 3 | |
106 | 122 | |
- | 0.8% | |
4.9 | 0.0 | |
about 2 months ago | 9 months ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jq-mode
-
jq 1.7 Released
Seeing this news today, I decided to give jq another try and ended up discovering jq-mode [1] for emacs. It doesn't just support jq filter file editing, it supports jq in org-mode and something else called 'jq-interactively'. This interactive mode allows you to apply jq interactively on a JSON or YAML (with yq) buffer. The buffer contents become the filtered value when you finish editing the jq filter with a return. This is especially impressive to see in yaml files.
[1] https://github.com/ljos/jq-mode
- Any JSON viewing/filtering package for Emacs?
counsel-jq
-
jq 1.7 Released
Didn’t know this. Thanks for the tip!
Personally, when I test REST APIs, I use „restclient.el“ all the time which also comes with a great JQ integration („jq-set-var“ for example for deriving request variables from responses). For traversing larger responses I use „counsel-jq“ in a customized JSON mode: https://github.com/200ok-ch/counsel-jq
But I’ll give the major mode a try, too.
- jless: a command-line JSON viewer, written in Rust
-
Extracting Objects Recursively with Jq
If anyone is an emacs user and this sounds compelling, I recommend counsel-jq[0] for the sort of feedback loop described here.
[0]: https://github.com/200ok-ch/counsel-jq
What are some alternatives?
restclient.el - HTTP REST client tool for emacs
gojq - Pure Go implementation of jq
jackson-jq - jq for Jackson Java JSON Processor
jfq - JSONata on the command line
rsl - reserialise: lossy but versatile conversion between data serialisation formats
fzf - :cherry_blossom: A command-line fuzzy finder
fx - Terminal JSON viewer & processor
swift-mode - Emacs support for Apple's Swift programming language.
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
yaml.el - YAML parser in Elisp