Transform an array to array of objects

I’m doing a simple transformation of array that doesnt seem to be working.
I tried doing a node. tranform nodes

my data is
{ “points”: [1 , 3, 4 ,5 ] }

i just wanna transform it to

{ “points”: [
{value: 1},
{value: 3},
{value: 4},
{value: 5},
] }

the patter accessor doesnt seem to work?

points.*

and is not reaching the breakpoint to set the value?

cannot do a merge as well as the array is plain and not an object.

Hello brethren!

Maybe you can try something like this? :slight_smile:

Output:
image

2 Likes

@mko
That works! Thank you! :bowing_woman: