We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
A couple of years ago I wrote a somewhat controversial article on the topic of Bringing the Unix Philosophy to the 21st Century by adding a JSON output option to CLI tools. This allows easier parsing in scripts by using JSON parsing tools like
jq
,jello
,jp
, etc. without arcaneawk
,sed
,cut
,tr
,reverse
, etc. incantations.It was controversial because there seem to be a lot of folks who don't think writing bespoke parsers for each task is a big deal. Others think JSON is evil. There are strong feelings as can be seen in response to the article in the comments and also on Hacker News and Reddit.
I'll let the next generation of DevOps practitioners and developers come to their own conclusions on the basis of our arguments, but the tide is already turning. Something that was just wishful thinking a couple years ago is now becoming a reality! Now, more and more command line applications are offering JSON output as an option. And with
jc
, JSON output can even be coaxed out of older command line applications.
continue reading on blog.kellybrazil.com
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.