Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using awk/sed to parse json seems to be using the wrong tool for the job.

As an alternative to jq with easier to remember syntax, see https://fx.wtf/

Recent discussion: https://news.ycombinator.com/item?id=37567009



Personally I prefer ‘python -m json.tool’

I resent the insular tone of jq. If I’m going to be processing the data in any way I’d prefer to make the leap into a familiar environment rather than kid myself I’m querying the doc like SQL




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

Search: