Best way to convert Struct to Array<Struct>?

Hello!

Wondering what the best way to convert a Struct to an Array of Structs. The current workaround I am trying is making the struct a String then trying to regex replace the curly braces with curly braces inside of brackets.

Currently:
{“key1”:1, “key2”:2}

Desired:
[ {“key1”:1, “key2”:2} ]

Are there any built-in transforms I can use or chain together?

Thanks!

Hey! I believe what you’re looking for is the Create Array expression

@helenq Is it expected that we can pass in a column to the Create Array expression?

Yes you should be able to select any column. Are there any errors upstream? If not can you test this out on a manually entered table too to see if you’re able to select the columns