I have JSON array as follows:
{outer:[
{
Key1:"ID001",
Key2:[
{
innerKey1:"Myval1",
innerKey2:"Myvalue2"
}
]
}
]}
Now in my HTML file :
<div>
{{#each outer}}
<b>key1:</b> {{this.Key1}} <br/>
{{#each this.Key2}}
<b>InnerKey1:</b> {{this.innerKey1}} <br/>
{{/each}}
{{/each}}
</div>
But it not showing up any inner values. Could anyone please help how to loop on inner array objects (i.e Key2 above). Do I need to write a separate helper for this?
{{#outer}}?{{#outer}}?{{#outer}}is an iterator, it iterates through the elements inouter.