Re:TSV Utilities: Command line tools for large, tabular data...
by sstephenson on Saturday August 31, 2019 @07:47PM
(#20849524)
jwalk parses JSON into a stream of TSV records: https://github.com/shellbound/jwalk/
[ Parent
| on HN ]
Re:TSV Utilities: Command line tools for large, tabular data...
by DonHopkins on Sunday September 01, 2019 @10:23AM
(#20852427)
>parses large documents slowly, but steadily, in memory space proportional to the key depth of the document
If parsing JSON with shell scripts and awk is your idea of the most ideal way to "slowly, but steadily" get the job done.
https://github.com/shellbound/jwalk/blob/master/lib/jwalk/co...
I know that everything looks like a nail if your only tool is a hammer, and it's fun to nail together square wheels out of plywood, but there are actually other tools out there with built-in, compiled, optimized, documented, tested, well maintained, fully compliant JSON parsers.
Re:TSV Utilities: Command line tools for large, tabular data...
by uhhyeahdude on Sunday September 01, 2019 @07:49AM
(#20851780)
CRUSH looks interesting, but you’ll have to poke around to find out what the tool(s) can do:
https://github.com/google/crush-tools/blob/wiki/CrushTutoria...
Re:TSV Utilities: Command line tools for large, tabular data...
by bradknowles on Monday September 02, 2019 @11:46AM
(#20859792)
Gron -- Make JSON Greppable
https://github.com/TomNomNom/gron