Join array items with a delimiter.
Section: Strings and Formatting
Join array into string
bash
bash
echo '["alice","bob","carol"]' | jq -r 'join(", ")'Explanation
Great for turning arrays into CSV-like text.
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