I\'ve got following model:
items: { someId1: { property1.... }, someId2: {...}, someIdN: {...} }
I wou
This answer is actually right on the Nunjucks homepage:
{% for name, item in items %} {{ name }}: {{ item }} {% endfor %}
In your case this would be:
{% for someId, item in items %} {{ someId }}: {{ item.property1 }} {% endfor %}
As you can use the for loop for arrays and object/hashes.