Ya, but I guess some how want to run this script every time I deploy the site. So I didn't want to bother installing jq on the production and staging servers. So I decided to go for a more primitive way.
That makes sense. I wouldn't want to necessarily install jq for such a simple task, either.
Hmm, I haven't look into jq yet, but I don't feel that jq is very easy to use from what I have scanned through.
echo something.json | jsonpipe 'it.map(obj => obj.value).filter(v => v > 30)'
Stay tuned. I will make one. :P
looks like something similar exists.
Nice, I will have to check it out!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.