Thank you!
Returns a range within the specified boundaries. The upper boundary is inclusive.
1 2 3 4 5 6 %dw 2.0 output application/json --- { "myRange": 1 to 10 }
1 2 3 4 5 6
%dw 2.0 output application/json --- { "myRange": 1 to 10 }
1 2 3 { "myRange": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] }
1 2 3
{ "myRange": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] }