i want to use jq to split a very large json (>80GB) file into smaller parts (<1GB or a fixed number of lines). I have the necessary statements together... I thought. What do I do so far?
jq ". | length" z:\DOWNLOAD\rows.json
works!
Under Windows this should output the first two lines.
jq ".[0:1]" z:\DOWNLOAD\rows.json
but I'm getting an error
jq: error (at z:\DOWNLOAD\rows.json:589): Cannot index object with object
What I also haven't understood the --Steam switch
yes, there are a bunch answers, but they do not work under windows (double quotes instead of apostrophe, but see error above)
[{"node":"http://www.wikidata.org/entity/Q952111","Unterklasse_von":"http://www.wikidata.org/entity/Q2095"},{"node":"http://.....