Re:Parsing JSON is a Minefield
by fao_ on Monday April 23, 2018 @03:40PM
(#16906700)
The standard for plain text output in the terminal is and has always been TSV.
[ Parent
| on HN ]
...and how does one do nested/tree-like data in TSV? One doesn't, only just ad-hoc invents something akin to sexps or json but unstandardized. Real-world data rarely has a natural fit for "tabl
How many standard UNIX programs do you know that output tree data?
And almost always you can find an alternative to non-tree-based representation without having to reinvent sexprs. Look at how ps represents the process tree, for example.