Skip to content

Instantly share code, notes, and snippets.

@peasead
Created June 15, 2021 18:58
Show Gist options
  • Save peasead/c831be0f444b6841764ba9ce22d11e3c to your computer and use it in GitHub Desktop.
Save peasead/c831be0f444b6841764ba9ce22d11e3c to your computer and use it in GitHub Desktop.
Convert JSON to NDJSON
cat file.json | jq -c '.[]' > output.ndjson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment