News for hackers. Stuff that matters.
Re:The fastest tool for querying large JSON files is written... by gabrielsroka on Thursday April 14, 2022 @01:38PM (#31030351)
Focusing on ease of use instead of performance (I'm usually looking at small files) but I found jq's syntax to be really difficult, so I wrote my own teeny tiny tool in Python:

https://replit.com/@gabrielsroka/Bash#pj.py

Obviously it only does a fraction of what jq does, but it does what I need and I can expand it in a fraction of the time it would take to learn jq.

Inspired by https://docs.python.org/3/library/json.html#module-json.tool

Re:The fastest tool for querying large JSON files is written... by soheilpro on Friday April 15, 2022 @04:10AM (#31037690)
My main problem with jq was finding the paths to the nodes, so I wrote catj (https://github.com/soheilpro/catj) to help with that.
Re:The fastest tool for querying large JSON files is written... by dmoura on Thursday April 14, 2022 @05:51PM (#31033765)
Loved the simplicity of your solution :-) Congrats!