News for hackers. Stuff that matters.
Re:Terminal escape sequences in Git commit email field by themadsens on Wednesday March 31, 2021 @02:23PM (#26651009)
I agree there is another can of worms waiting to be opened: agreeing on the schema of said json output. Also structured output is probably way more useful downstream from the likes of ls, exa, ps (say) rather than from grep like tools
Re:Terminal escape sequences in Git commit email field by kbrazil on Friday April 02, 2021 @11:34AM (#26672280)
I have created JSON schemas for the output of dozens of commands and file-types with my jc[0] project. I tried to keep them as flat as possible, but there are many other ways it could have been done. Creating the schema many times requires more thought than writing the parser itself.

[0] https://github.com/kellyjonbrazil/jc