PBS 169 of X — Advanced YAML Topics - podcast episode cover

PBS 169 of X — Advanced YAML Topics

Jul 07, 20241 hr 6 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

In this second (and final) installment about YAML, Bart teaches us who to write multi-line strings and how not to write multi-line strings. He teaches us about String Blocks which is a bit head-bendy but allows you to write human-readable strings and also tell YAML what to do with empty lines and white space.

After that slightly heavy lift, we learn about how to write much simpler-looking Sequences and Mappings than the way we learned in our introduction to YAML in PBS 168. It's really nifty how you can write them in compact, sensible forms, and even easily combine separate YAML documents into the same sequence or mapping.

Finally we learn how to use the `yq` language to query JSON, CSV, and XML files using a language that uses `jq` syntax so you'll feel right at home.

Read an unedited, auto-generated transcript with chapter marks: PBS_2024_07_06

For the best experience, listen in Metacast app for iOS or Android
Open in Metacast
PBS 169 of X — Advanced YAML Topics | Programming By Stealth podcast - Listen or read transcript on Metacast