I have list as below
[{customerId="123"},{customerId="456"},{customerId="786"}]
I want to convert above as Array like below
[123,456,786]
Can you please help on how to achieve using dataweave
I have list as below
[{customerId="123"},{customerId="456"},{customerId="786"}]
I want to convert above as Array like below
[123,456,786]
Can you please help on how to achieve using dataweave
Following code will return array
Please refer dataweave-selectors for more details.