add option to print nothing if the two objects are the same #9

Closed
SheetJSDev opened this Issue Feb 24, 2014 · 2 comments

Comments

Projects
None yet
3 participants
$ cat t.json
{"foo":[1,2,3]}
$ json-diff t.json t.json
 undefined

Ideally there would be an option (or default behavior) whereby no output would be generated if the objects are the same.

Owner

andreyvit commented Feb 25, 2014

Agreed. Can you please provide a pull request? It should be easy to do.

Seems like this issue has been fixed with #14

@andreyvit Can you release a new npm version with this change?

@SheetJSDev SheetJSDev closed this Aug 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment