Reputation: 2570
How do I access values from an array of Objects in MustacheJS? For example using {{foo[0].bar}} does not result in a valid render.
{{foo[0].bar}}
Upvotes: 1
Views: 40
Reputation: 4050
It's done with dot (.)
.
{{foo.0.bar}}
Upvotes: 2