Output a JSON array as CSV.
Section: Strings and Formatting
Convert array to CSV row
bash
bash
echo '["alice",30,"SF"]' | jq -r '@csv'Explanation
Use `@csv` for CSV-safe quoting and escaping.
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 Strings and Formatting