Check if the JSON object is equal to another object.
Whether the JSON object is equal to the passed object.
Object to check with.