3 ms·
Shameless plug: If you use jq a lot, catj (https://github.com/soheilpro/catj https://github.com/soheilpro/catj) can really help you with writing query expressio
by soheilpro 7y ago
Shameless plug: If you use jq a lot, catj (https://github.com/soheilpro/catj https://github.com/soheilpro/catj) can really help you with writing query expressions.
- oftenwrong 7y agoI use gron to do this same thing: https://github.com/tomnomnom/gron https://github.com/tomnomnom/gron Some options of gron I use often: --stream, which treats the input as "JSON lines" format --ungron, which converts from the flat format back to JSON
- pletnes 7y agoCan confirm, quite like catj. As a python dev though, I find the npm installation non intuitive. Jq is simple - stuff a binary in some bin/.
- zackmorris 7y agoLooks like a good tool, but can everyone reading this please plus-one the thumbs up here to get the reverse operation implanted? https://github.com/soheilpro/catj/issues/7 https://github.com/soheilpro/catj/issues/7