Comaparing two json files in uipath

Hello Community,
I have 2 json files and my task is to compare the two json files. I need to check whether they both are consisting of same data or not. If not then I need to figure out which data is not matching. Help me setup a workflow for the same. Am attaching the screenshots of two json files below.


image

Hi @mehtah,

in essence what you need to do is deserialize the JSON text into an object you can iterate/compare.

Here’s an example

Additionally, Here are some resources (there’s a lot to read)

Deserialize Json (uipath.com)
JObject Class (newtonsoft.com)
Newtonsoft.Json.Linq Namespace