Hacker News new | ask | show | jobs
by chatmasta 2279 days ago
Maybe a good interim solution would be a “proxy command” that knows the output format of common commands, and how to convert them to json. So for example you could pipe the output of ls to this tool, and it would be smart enough to parse it and convert to json.
1 comments

https://github.com/kellyjonbrazil/jc was posted in another comment; it appears to be exactly that.