Categories
Linux Mastering Development

How to validate a json to make sure each json object is valid?

I have a json as shown below where I have multiple json objects inside rootLevel. I need to validate my json to make sure each json object should follow this below rules: Value in clientId, procId and machineName in each json object should be unique. If they are not unique then I want to fail […]

Categories
Linux Mastering Development

How to validate a json to make sure each json object is valid?

I have a json as shown below where I have multiple json objects inside rootLevel. I need to validate my json to make sure each json object should follow this below rules: Value in clientId, procId and machineName in each json object should be unique. If they are not unique then I want to fail […]