Help with API JSON Array and getting values into single variable with seperators

Hi. I’m sure this is a dumb question but I’ve kind of hit a wall.

I have a return coming from a zip code radius API and am able to pull the one value I need (the zip code) out and post that as a repeat on the page. What I need to do is put all those zip codes into a single variable with a comma operator so I can send it to another API as one object.

Basically, go from:
image

to 32503,32514,32501…etc as a single variable that I can post in another API call.

I’ve been able to get it to list the first returned zip code or basically pull the whole array into a second variable but can’t get it to format out as a single comma separated list. I’m sure I’m just missing something obvious.

Any suggestions?

Thanks

I think what you are describing is to flatten on code, and then join the result with a comma.

That was the bunny. . thank you. Knew I was just looking in the wrong place.

If the opportunity ever presents itself. . beer is on me.

1 Like