How to define and iterate a list of associative arrays (or json) in templates?

I don’t know if this is supported. See this similar question Allow `load_data` to take a literal?