Didn't know about this, the HN dividend pays out again! When wrestling with sed/awk in trying to parse results of a shell command, I've often thought that a shell-standard, structured outpout would be very handy. Powershell[0] has this, but it's a binary format - so not human-readable. I want something in the middle: human- and machine-readable. Without either having to do parsing gymnastics. jc isn't quite that shel…
Well, yes - powershell passes binary objects but as you can always:
1) access their properties 2) pass them downstream 3) serialize to json/csv 4) instantiate from json/csv
I think this is both human- and machine-readable enough (even through internal format is binary, but working with Powershell you are never really exposed to it).
How do you think it can be improved?
In my opinion object io IS the best part of powershell - it allows us to ditch results wrangling with sed/awk/grep entirely. I'm super interested if there's an even better way forward.