A lightweight command-line tool to convert multiple JSON files into a single JSONL (JSON Lines) output file.
json2jsonl [options] <file1.json> <file2.json> ...-o string: Output file path. If omitted, output is written to standard output (stdout).-h: Show help message.output.jsonl:json2jsonl -o output.jsonl data1.json data2.jsonjson2jsonl data.json | grep "foo"json2jsonl-darwin-amd64 (MacOS Intel)json2jsonl-darwin-arm64 (MacOS Apple Silicon)json2jsonl-linux-amd64 (Linux 64-bit)json2jsonl-windows-amd64.exe (Windows 64-bit)Free to use for any purpose.