How to create an array from an object

Hi, I'm having trouble figuring out how to do this and I'm sure its really simple.

I have a database table with a column for "email_subject_lines". It holds a list.

I have a variable that returns this:

{"1": "email subject line", "2": "email subject line", "3": "email subject line", "4": "email subject line", "5": "email subject line",}

How do I make this into an array that I can save so it doesn't just save them all in 1 field?

1 reply