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

I'm a big fan of jo[1] for making generating JSON from the shell not terrible.

[1] https://github.com/jpmens/jo



You could give jq a go: https://stedolan.github.io/jq/


Oh, don’t worry, I am familiar[1] with it! It doesn’t quite do this one thing as well as jo, so I like using both.

[1] https://github.com/flurie/AdventOfCode/blob/main/2021/jq/d14... - unfortunately, this is the point at which I realized the stdlib was a little too anemic for general purpose solving and gave up


Very cool! jq is very powerful but can be clunky for simple operations, I love how simple this is




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

Search: