Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbrazil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
kbrazil
6y ago
jc is also available as a standalone binary with python 'packaged in'. https://kellyjonbrazil.github.io/jc-packaging/
62.
▲
by
kbrazil
6y ago
Yep, 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
63.
▲
by
kbrazil
6y ago
I'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
64.
▲
by
kbrazil
7y ago
I have the same issue with jq. I need to use my google fu to figure out how to do anything more than a simple select. I created jello[0], which uses python list and dict syntax to filter JSON. Here's a blog post[1] I wrote that shows
65.
▲
by
kbrazil
7y ago
jc has a yaml to json converter: cat file.yaml | jc --yaml
66.
▲
by
kbrazil
7y ago
It would be great to have libxo in linux! FYI, `jc netstat` also generates JSON output for `netstat`. (disclosure: I'm the author of `jc`) While I'm at it... check out `jtbl` on my github which prints the JSON or JSON Lines output