Design

Loop over object properties

Repeat any part of you document
COMMUNITY FEATURE Available for:
Carbone Cloud
Carbone On-premise
Embedded Carbone JS
  v3.0+ 

Iterate over object properties

data
  {
    "myObject" : {
      "paul" : "10",
      "jack" : "20",
      "bob"  : "30"
    }
  }
template
People namePeople age{d.myObject[i].att}{d.myObject[i].val}{d.myObject[i+1].att}{d.myObject[i+1].val}
Carbone Merge Icon
result
People namePeople agepaul10jack20bob30