Select specific value in JSON

Dear all, I have a JSON like this:

{
“EmailList”:[
{
“locationId”:“1”,
“locationName”:“USA”,
“toEmail”:[
abc@gmail.com”,
abc123@gmail.com
],
“ccEmail”:[

     ]
  },
  {
     "locationId":2,
     "locationName":UK,
     "toEmail":[
        "xyz@gmail.com"
     ],
     "ccEmail":[

     ]
  }

],
“statusMessage”:“Success”,
“fault”:null
}

I want to get “toEmail” value where “locationName” = “UK”. How can I archive that? Thank you very much.

You should install the package UiPath.WebAPI and use activity Deserialize JSON, after that you will have the string as an object and will be easier to do.