Forum Discussion

Matt's avatar
Matt
New Contributor
6 years ago

Removing [] from JSON array

Hey Everyone,

I’m currently receiving data from an API and inserting the data into a MySQL database. Here’s an example of one of the columns that are coming over:
[“5bb1614c4fd80200018e33c4”,“5ca500003aaf6000014dbc98”,“5b5f558add2f28000151e88d”]

Is there a way to remove the brackets and " so that it’ll only be the records and the comma separating each value?