Hacker News new | past | comments | ask | show | jobs | submit login

Here's one I use: jq for JSON parsing



Yes. letsencrypt.sh is a nice case study, spending a lot of effort to parse json with essentially bash & grep. It works now but is full of assumptions ("this array of hashes will not contain [ anywhere"). There is nothing in POSIX that's well suited to manipulating json in the way that jq is.


May I suggest an "Ask HN." Show your .json input and the desired output.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: