jaq
jp
Our great sponsors
jaq | jp | |
---|---|---|
24 | 6 | |
2,468 | 716 | |
- | 1.8% | |
9.6 | 1.1 | |
7 days ago | 10 months ago | |
Rust | Python | |
MIT License | Apache License 2.0 |
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.
jaq
- Jaq
-
Jaq – A jq clone focused on correctness, speed, and simplicity
https://github.com/01mf02/jaq/blob/main/Cargo.lock
That's a lot of dependencies..
-
Interactive Examples for Learning Jq
Thanks for the jqjq shoutout! :) i'm quite sure jq is turing complete, jq (and jqjq!) can implement brainfuck https://github.com/01mf02/jaq/blob/main/examples/bf.jq
-
This is a very old theme, solved by Pike and Kernigan since 1984, in section 5.5 (Replacing a file: overwrite), page 155 in the book
/uj Because of this post, I have learned I could have been using jaq instead of jq.
-
A new major version of jql has been released
There's also jaq which is written in Rust, aims for compatibility with jq (except some specific features), and boasts better performance.
-
Fx - a lightweight jq alternative
jaq is closer to that
-
can't swp layout
if [[ $(hyprctl -j getoption general:layout | jaq -r '.str') = "master" ]]; then hyprctl keyword general:layout "dwindle" else hyprctl keyword general:layout "master" fi you'll need https://github.com/01mf02/jaq
-
launcher script scratchpad special ws
You will need https://github.com/01mf02/jaq
-
Miller: Like Awk, sed, cut, join, and sort for CSV, TSV, and tabular JSON
I've been getting a lot of mileage out of https://github.com/itchyny/gojq#readme recently due to two things: its vastly superior error messages and the (regrettably verbose) `--yaml-input` option
I also have https://github.com/01mf02/jaq#readme installed but just haven't needed it
jp
-
Jq Internals: Backtracking
I have a hard time suggesting such a thing, because I find JMESPath incredibly inferior to jq's expressiveness, but if you're in the AWS ecosystem much, you may enjoy https://github.com/jmespath/jp#readme which uses the same query language as does awscli (https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-f...). That may at least pay more dividends than keeping jq's language in your head where it will only ever be used by jq
-
using JQ to parse output
Have you tried this utility instead: https://github.com/jmespath/jp
- Zq: An Easier (and Faster) Alternative to Jq
- What tools did you discover that made your work so much easier for DevOps & SRE
-
FX: An interactive alternative to jq to process JSON
There’s also jp, which interprets JMESPath: https://github.com/jmespath/jp
This one has the advantage of being natively understood by aws-cli, meaning you can pass a JMESPath to an AWS call and only receive the filtered / transformed result back.
- Tips on Adding JSON Output to Your CLI App
What are some alternatives?
jql - A JSON Query Language CLI tool
jq - Command-line JSON processor
partiql-lang-rust - PartiQL libraries and tools in Rust.
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
fx - Terminal JSON viewer & processor
gojq - Pure Go implementation of jq
jet - CLI to transform between JSON, EDN, YAML and Transit using Clojure
jqp - A TUI playground to experiment with jq
scout - Reading and writing in JSON, Plist, YAML and XML data made simple when the data format is not known at build time. Swift library and command-line tool.
utt - utt is the universal text transformer
jid - json incremental digger