3 ms·
I love the concept of this. Something like this for JSON would be great. Kind of sick of `jq`.
by VectorLock 6y ago
I love the concept of this. Something like this for JSON would be great. Kind of sick of `jq`.
- qqii 6y agoHave you seen jc[0]? Now for the json bash interface the only thing that's missing a nicer json renderer (perhaps table format) to have a similar feature parity to Nushell. [0]: https://github.com/kellyjonbrazil/jc https://github.com/kellyjonbrazil/jc
- kbrazil 6y agoI'm not sure if this fits your use case, but I also created jtbl to print the json output (say from jc) as a table in the terminal. https://github.com/kellyjonbrazil/jtbl https://github.com/kellyjonbrazil/jtbl
- qqii 6y agoInteresting project, it'll definitely be something I consider! I've been hacking together things with gron[0] and coreutils when I do want tabular data. jello looks pretty interesting too, but I'm not sure if I agree with python syntax. [0]: https://github.com/tomnomnom/gron https://github.com/tomnomnom/gron
- kbrazil 6y agoYep, I get it with the python syntax. It's not for everyone but the goal is to democratize the JSON processing for the masses that know python where more complex jq queries can be daunting. Jello also supports gron-like output with the -s option.