arraysjsonmake.com

Remove extra brackets from JSON call in Integromat


I am running a HTTP call to bring back data in JSON format but this is bringing through an extra set of square brackets that is causing issues when i am trying to recognise the array. See screen shots.

enter image description here

I can remove the extra set manually in a JSON editor but need to try and find a way of doing this automatically as part of my call.

I am running the call through Integromat and have looked at using Regex but couldn't find the correct code combinations.

Any help or advise much appreciated.


Solution

  • You can use the replace function and insert the brackets that need to be found using regex pattern making sure you denote the bracket at the starting position and the bracket at the end of the string to be replaced with emptystring