Skip to main content
Participating Frequently
May 7, 2024 12:16 PM UTC
Question

Creating single map from list of maps

Hi,

Can anyone help me with converting multiple map into single map,

example input: {a!map(),a!Map(),a!map()}

output{a!map()}

Help is appreciated

14 replies

stefanhelzle0001
Brainy
May 7, 2024 12:22 PM UTC

What would this "conversion" look like? Just take the first one, or the last, or combine things somehow?

Participating Frequently
May 7, 2024 12:26 PM UTC

I have an output something like below, i would want to convert these 6 map items to single map and these field names are not static , field names can differ and are dynamic

stefanhelzle0001
Brainy
May 7, 2024 12:27 PM UTC

So each map has an individual key and you want to combine these into a single map containing all key-value pairs?