Very cool, small nitpicks:
- Very slow for medium-sized JSON (16MB)
- Fonts are too dark (made a PR)
Looking for performant alternatives, I found fx (https://fx.wtf) which doesn't have the jq features but is a fast json viewer.
This looks really exciting - will definitely check it out.
Until now I've been using jq with up [0] for interactive queries, but I don't find myself liking up's UX much (especially for long queries or non-ASCII data) so I'm keen on looking for a replacement.
I wonder if you could generalize the idea to support many more commands having an interactive interface on the CLI. I have long imagined a "command builder" which depending on cursor position would load the appropriate docs and display them as you edit your command line.
Very cool. I don't know if it's too much of an ask but could you adopt that to also work with OjG which uses JSONPath for instead of the jq syntax. I'd be glad to help if you are up for it. My apologies if I am out of line.
Good job. I've been looking for this kind of tool for a while, would anyone inform me how to name them? I mean some json editor tui-software with jq-like viewer.
While the tool seems interesting, I wonder if it truly offers a significant advantage over existing solutions like `gron`. More benchmarking and feature comparisons would be helpful in assessing the merits.
This is very cool! Any plans to make it also be able to write the filtered result to a file/stdout? I'd love to contribute that, but I'm only through 3 chapters of the Rust book.
[+] [-] croemer|2 years ago|reply
[+] [-] callwhendone|2 years ago|reply
If aqny came here for fun, I think he just found it. Working on performance issues is the best.
[+] [-] teaearlgraycold|2 years ago|reply
[+] [-] bipvanwinkle|2 years ago|reply
[+] [-] tejtm|2 years ago|reply
https://github.com/TomConlin/json_to_paths
[+] [-] 3PS|2 years ago|reply
Until now I've been using jq with up [0] for interactive queries, but I don't find myself liking up's UX much (especially for long queries or non-ASCII data) so I'm keen on looking for a replacement.
[0]: https://github.com/akavel/up
[+] [-] parentheses|2 years ago|reply
I was immediately drawn to your post because I'd made something similar.
https://github.com/bigH/interactively.git
I wonder if you could generalize the idea to support many more commands having an interactive interface on the CLI. I have long imagined a "command builder" which depending on cursor position would load the appropriate docs and display them as you edit your command line.
[+] [-] peterohler|2 years ago|reply
[+] [-] guptarohit|2 years ago|reply
[+] [-] alpb|2 years ago|reply
[+] [-] evnix|2 years ago|reply
You can do a lot more with it like map filter reduce etc and the semantics are closer to what you already know. Supports YAML too.
https://fx.wtf/getting-started
[+] [-] elmt35|2 years ago|reply
If you’re paraing JSONL (json lines), I highly recomend it.
[+] [-] adammarples|2 years ago|reply
[+] [-] jiehong|2 years ago|reply
[0]: https://dev.to/pbnj/fzf-jq-interactive-jq-15no
[+] [-] hprotagonist|2 years ago|reply
[+] [-] pR0Ps|2 years ago|reply
(Demo: https://asciinema.org/a/349330 )
[+] [-] jiehong|2 years ago|reply
Disclaimer: I wrote that plugin some time ago.
[0]: https://packagecontrol.io/packages/Jq
[+] [-] tieway59|2 years ago|reply
[+] [-] nkko|2 years ago|reply
[+] [-] gudzpoz|2 years ago|reply
[1] https://github.com/ljos/jq-mode
[+] [-] CacheThrasher|2 years ago|reply
[+] [-] peauc|2 years ago|reply
[+] [-] janpmz|2 years ago|reply
[+] [-] neeh0|2 years ago|reply
[+] [-] croemer|2 years ago|reply
[+] [-] akafazov|2 years ago|reply
It would be even cooler if it highlighted matched keys while typing.
[+] [-] roydivision|2 years ago|reply
[+] [-] zuck_vs_musk|2 years ago|reply
JS guys - look at my new JS framework that you can use to do 15th rewrite of your website
I wonder how come communities evolve in this way.