Nested arrays

Repeat nested arrays are managed at unlimited depth. The following example shows a repetition of a whole document.

It is not necessary to completely repeat the first paragraph twice in the templateโ€”repeat only the title of the second paragraph to detect where the repetition pattern of the main array ends {[i+1].brand}.


    brand: "Toyota",
    models: [{ size: "Prius 2" }, { size: "Prius 3" }]
    brand: "Tesla",
    models: [{ size: "S" }, { size: "X" }]




{d[i].models[i+1].size }


Last updated