I’m certain there is a way to do this, but it’s just not coalescing in my head. I would like to avoid loops, because this is going to be used to generate a string (after a map and a join).
Example:
list:
- one
- two
- three
dictionary_list:
- item1: something
item2: something else
item3: something completely different
item4: three
- item1: larry
item2: brother daryl
item3: other brother daryl
item4: two
- item1: fee
item2: fi
item3: fo
item4: fum
- item1: What's your name?
item2: What's your quest?
item3: What's your favorite color?
item4: one
And I would like the output to be:
output_list:
- item1: something
item2: something else
item3: something completely different
item4: three
- item1: larry
item2: brother daryl
item3: other brother daryl
item4: two
- item1: What's your name?
item2: What's your quest?
item3: What's your favorite color?
item4: one
It would also be workable if I ended up just having a list of values from a particular key, but that key is not the key I want to filter by.
Any thoughts?