For that go to design tab → manage packages → all packages → search for UiPath.web.Activity and install it
And steps involved are as follows
Read the string input and save it in a variable named Strinput
Then use a DESERIALISE JSON activity and pass the above string variable as input and type argument will be Newtonsoft.Json.LinqJObject result of this activity will be jsonobject
Use a assign activity like this
Jsonstring = jsonobject(“employee”).ToString
Then Use Deserialize Json Array activity with Type Argument and pass the Jsonstring in input and say the output of this activity will be Jsonarray
Now use a FOR EACH activity and pass the above variable Jsonarray and change the type argument as Newtonsoft.Json.LinqJObject
Inside the loop use a IF condition like this
item(“id”).ToString.Contains(“2”)
If true it will go to then block where use a assign activity like this
str_output = item(“lastname”).ToString
In fact we have got examples on how to use those two deserialise activity in that doc itself
Please refer that for more details