How to iterate through array inside HTML template?
If you have array of objects in the input data like this:
{
"items": [
{
"name": "T-800 Prototype Research",
"price": 1000.0
},
{
"name": "T-800 Cloud Sync Setup",
"price": 300.0
}
]
}
Then you may easily iterate these objects like this
Name: , Price:
Useful for creating tables with data like this:
<table>
<tr>
<td></td>
<td></td>
</tr>
</table>
Copyright © 2016 - 2024 PDF.co