Repeated Item With Objects In a Data List Viewer

Help needed, How can i repeat the below object in a data list viewer?

“fields”: {
“1”: { “Name”: {“a”: “4”},“Unit”: {“b”: “7”}},
“2”: { “Name”: {“a”: “5”},“Unit”: {“b”: “4”}},
“3”: { “Name”: {“a”: “2”},“Unit”: {“b”: “9”}},
“4”: { “Name”: {“a”: “9”},“Unit”: {“b”: “1”}},
}

Thanks

I’ve written a general description here Nested List, Flexible Depth

If you need further assistance just reply here :slight_smile:

Hello @Sasu_Makinen,

Thanks for the prompt response. My data is an Object of Objects and not an Array/List of Objects so wondering if the suggested solution would work. I initially tried using the Map fucntion but realized that’s for Arrays and not Objects. hope you now understand my question.

Thanks

I’d highly suggest you transforming the data to

[
  { "Name": { "a": 4 }, "Unit": { "b": 7 } },
  { "Name": { "a": 5 }, "Unit": { "b": 4 } },
  { "Name": { "a": 2 }, "Unit": { "b": 9 } },
  { "Name": { "a": 9 }, "Unit": { "b": 1 } }
]

By calling VALUES to your object.

Thanks @Sasu_Makinen for the suggestion.