Forum Discussion

vfantidou's avatar
vfantidou
New Contributor
2 years ago
Solved

Filter json array of objects by another json array of objects

Hello everyone, I have a json that looks like the bellow and I want to filter the $input0 data by whatever key/values exists in $filterData in the end. The $filterData may have ID or Customer (in th...
  • ivicakoteski's avatar
    2 years ago

    Hi sobha353 ,

    You can parse the string as JSON using the JSON.parse() function in the mapper snap.

     

    JSON.parse($dataDetails.data)

     

    Hence, you can easily map the data as desired.
    Hope this helps!

    BR.
    Ivica