Re:jc – JSONifies the output of many CLI tools
by onion2k on Thursday November 03, 2022 @10:28AM
(#33451536)
If you use something other than JSON you'd have to wait until every app you want to use chooses to update to support your preferred format. That might take a while. Wouldn't it be better to use JSON for the output as that's an acceptable input to lots and lots of applications already, and if you want to read the output just pass it to an app that converts from JSON to "something formatted with pipes, quotes and spaces".
[ Parent
| on HN ]
Re:jc – JSONifies the output of many CLI tools
by codedokode on Thursday November 03, 2022 @02:29PM
(#33455290)
On the other hand, if machine-readable format is adopted, it will be used for many years or even decades. So instead of making a quick hack that everybody will regret later it might be better to spend some time comparing different options.