Build human-readable text from JSON values.
Section: Strings and Formatting
String interpolation
bash
bash
echo '{"name":"alice","age":30}' | jq -r '"(.name) is (.age) years old"'Explanation
Interpolation is one of jq's most useful shell-reporting features.
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