-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug when second list is empty #10
Comments
Hello @KKomarov, Please check out #4 for some insight into this behaviour. In this case, jsondiff considers the two lists to be completely different therefore represents the difference as a substitution rather than a patch. It is perhaps debatable whether this is the best default behaviour in the explicit case, but it's a design choice not a bug. Hope this helps. |
@ericremoreynolds Thank you, I agree there is no problem with
|
Adding to this, jsondiff unexpectedly returned a list when one of the comparitor is an empty dict.
|
Kind of a bug:
The text was updated successfully, but these errors were encountered: