
PBS 166 of X — jq: Processing Arrays & Dictionaries sans Explosion
About this episode
In this penultimate jq episode of Programming By Stealth, Bart introduces us to three new ways to process arrays and dictionaries without exploding them first. I know that sounds crazy – we've always exploded our arrays first. He teaches us how to use the `reduce` operator which lets us take an entire array or dictionary and reduce it down to one thing. The `map` function lets us process every element in an array (or or values in a dictionary) and return a new array. Finally, `map_values` lets us apply a function against all of the values in a dictionary (or an array).
It was a bitter sweet ending to the primary series on `jq` for Bart, but next time he'll do the epilogue where he'll introduce us to some rarely needed but still very useful things you can do with jq.
You can find Bart's fabulous tutorial shownotes at pbs.bartificer.net.
Read an unedited, auto-generated transcript with chapter marks: CCATP_2024_05_25
Get every episode summarized
Each time Programming By Stealth publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Programming By Stealth

PBS Tidbit 19B — Building a JavaScript CLI App with NodeJS
Programming By Stealth

PBS Tidbit 19A — Building a JavaScript CLI App with NodeJS
Programming By Stealth

PBS 186 of X — Web Metadata — the Search and OpenGraph HTML Headers
Programming By Stealth

PBS 185 of X: Customising Bootstrap 5 with Sass
Programming By Stealth