Re:Jid – Drill down JSON data incrementally
by wellsjohnston on Saturday December 03, 2016 @06:47PM
(#13098057)
I made a gui for this https://github.com/wellsjo/JSON-Splora
Re:Jid – Drill down JSON data incrementally
by dorianm on Saturday December 03, 2016 @07:11PM
(#13098130)
How would you do a `data.keys.sort` with jq? Here I don't have to learn a new programming language or hack around with UNIX pipes ;)
Re:Jid – Drill down JSON data incrementally
by hyperpallium on Saturday December 03, 2016 @07:40PM
(#13098221)
jq has sort and sort_by(exp). Its | is a jq operator, not a unix pipe.
It's true it's a new lang, and although simple, I often have to look things up.
It might be nice to have a jq REPL, so needn't quote, and easier to keep state around.
Re:Jid – Drill down JSON data incrementally
by voltagex_ on Saturday December 03, 2016 @11:26PM
(#13098787)
I find jq syntax tricky, and it's difficult to work out what I need to get to specific elements. I guess I'm more used to things like XPath. Seconding the request for a REPL
I used to do that in Python, but it is a pain. jq is great for these things, and jid seems to be also.