Emit one compact object per line.
Section: JSONL basics
Convert array JSON to JSONL
bash
bash
jq -c '.[]' users.jsonExplanation
This is a common conversion when moving from API exports to pipeline-friendly input.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing JSONL basics
Filter JSONL lines by a field
Select only matching objects from a JSONL stream.
Extract one field from each JSONL record
Print a property from every line.