Jeremy Luscombe
Posts
Snippets
Notes
Projects
Now
Convert JSONL to JSON using JQ
jq -s '.' input.jsonl > output.json
And the other way:
jq -c '.[]' input.json > output.jsonl