I need to generate html from a static set of data within templates. I tried to set an array like this but it says " = expected a value that can be negated" {% set data = [{"name": "Alice"}, {"name": "Bob"}] %}
In the meanwhile, one workaround that you can use is to create an “echo” server, I.e. a server that responds back with whatever you send to it, to load json literals. It’s not ideal but I can verify that this works.