jq-mode
jackson-jq
Our great sponsors
jq-mode | jackson-jq | |
---|---|---|
2 | 2 | |
106 | 270 | |
- | - | |
4.9 | 5.3 | |
about 2 months ago | 2 days ago | |
Emacs Lisp | Java | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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?
jackson-jq
-
jq 1.7 Released
So just picking Java https://github.com/eiiches/jackson-jq
> jackson-jq aims to be a compatible jq implementation. However, not every feature is available; some are intentionally omitted because thay are not relevant as a Java library; some may be incomplete, have bugs or are yet to be implemented.
Where JMESPath has fully compliant 1st party implementations in Python, Go, Lua, JS, PHP, Ruby, and Rust and fully compliant 3rd party implementations in C++, Java, .NET, Elixer, and TS.
Having a spec and a test suite means that a all valid JMESPath programs will work and work the same anywhere you use it.
What are some alternatives?
restclient.el - HTTP REST client tool for emacs
libnbd
rsl - reserialise: lossy but versatile conversion between data serialisation formats
nbdkit
fx - Terminal JSON viewer & processor
java-jq - Lightweight Java wrapper around JQ, a flexible JSON processor available for multiple platforms
swift-mode - Emacs support for Apple's Swift programming language.
Newman - Newman is a command-line collection runner for Postman
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.
jet - CLI to transform between JSON, EDN, YAML and Transit using Clojure
jo - JSON output from a shell
counsel-jq - Traverse complex JSON and YAML structures with live feedback