I have an object in my code, and I have a file which contains a JSON. I would like to compare these two and make sure that the schema is the same, or that it's the same object.
The problem I encountered, is that if a field is missing in the JSON file, the deserialize will count that field as a null, and it will still be valid. I want to make sure that both object and json files are identical.
Thanks