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