wsjq
fx
Our great sponsors
wsjq | fx | |
---|---|---|
2 | 50 | |
13 | 18,490 | |
- | - | |
6.8 | 9.2 | |
about 1 month ago | 7 days ago | |
jq | Go | |
Mozilla Public License 2.0 | MIT License |
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.
wsjq
- Zq: An Easier (and Faster) Alternative to Jq
-
An Introduction to JQ
jq is unsurprisingly Turing complete, so I wrote a Whitespace interpreter[0] in jq. It is able to handle real-time I/O by requesting lines on-demand from stdin, which is the main input source, with `input` and outputting strings in a stream.
With a relatively large jq program like that, it is critical that the main recursive loop run efficiently, so it's annoying that there's no way to detect whether tail call optimization was applied, other than benchmarking. It would also be nice if object values were lazily evaluated so that it would be possible to create ad hoc switches.
[0]: https://github.com/andrewarchi/wsjq
fx
- Bash/Zsh autocomplete for JSON fields
- Fx 32.0, now with YAML support too
- Fx JSON viewer now supports YAML
-
Jaq – A jq clone focused on correctness, speed, and simplicity
There's also this awesome tool to make JSON interactively navigable in the terminal:
https://fx.wtf
- Fx 31.0.0 Release
- FLaNK Stack Weekly for 30 Oct 2023
- jq 1.7
-
Modern Linux Tools vs. Unix Classics: Which Would I Choose?
Using awk/sed to parse json seems to be using the wrong tool for the job.
As an alternative to jq with easier to remember syntax, see https://fx.wtf/
Recent discussion: https://news.ycombinator.com/item?id=37567009
- Fx – Terminal JSON Viewer
- fx – terminal JSON viewer
What are some alternatives?
kubectl-jq - Kubectl plugin that works like "kubectl get" but runs everything through a JQ program you provide
jless - jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
rb - Turns Ruby into a versatile command line utility
jiq - jid on jq - interactive JSON query tool using jq expressions
json-logs - A tool to pretty-print JSON logs, like those from zap or logrus.
jid - json incremental digger
howto - Documenting useful things, lest I forget, and sharing is caring
rq - Record Query - A tool for doing record analysis and transformation
gron - Make JSON greppable!
ngs - Next Generation Shell (NGS)