---
source: https://carbone.io/documentation/design/repetitions/with-objects.html
title: "Repeat any part of your document"
description: "Repeat any part of your document from object properties"
generated_at: "2026-07-13"
---

# Loop over object properties

Repeat any part of your document from object properties  
COMMUNITY FEATURE Available for:  
✓ Carbone Cloud  
✓ Carbone On-premise  
✓ Embedded Carbone JS   v3.0+ 

## Iterate over object properties

-   use `.att` to print the attribute
-   use `.val` to print the value

```cdata
  {
    "myObject" : {
      "paul" : "10",
      "jack" : "20",
      "bob"  : "30"
    }
  }
```

**Template:**

| People name | People age |
| --- | --- |
| {d.myObject[i].att} | {d.myObject[i].val} |
| {d.myObject[i+1].att} | {d.myObject[i+1].val} |

**Result:**

| People name | People age |
| --- | --- |
| paul | 10 |
| jack | 20 |
| bob | 30 |

## Related topics

- [Loop over array](/documentation/design/repetitions/with-arrays.md)
- [Sorting arrays](/documentation/design/repetitions/sorting.md)
- [Lookup](/documentation/design/repetitions/lookup.md)
- [Grouping](/documentation/design/repetitions/grouping.md)
- [Filtering arrays](/documentation/design/repetitions/filtering.md)
- [Distinct](/documentation/design/repetitions/distinct.md)
