zgrossbart / jdd

A semantic JSON compare tool
http://www.jsondiff.com
Apache License 2.0
1.03k stars 180 forks source link

Enhancement : filter Left / Right side missing properties #23

Open Rom1deTroyes opened 5 years ago

Rom1deTroyes commented 5 years ago

Hello !

I use jdd to compare a JSON file generated by 2 version of the same API, and find regression bugs.

It could be verry effective to filter only the diff flagged by a side.

In my use case, I don't focus on :

All I need to see is a list of

Missing property PPP from the object on the right side

In a second step, filter by "Left Side" can help focus on the new functionality of my API, without having to reload the JSONs.

Thanx for your usefull app, Romain

zgrossbart commented 5 years ago

Thanks for the awesome feature request. We already have a way to see only the missing properties. I can take a look and think about a good way to show the direction of the missing properties. If you could easily see that would it give you what you're looking for?

We already say which side the property is missing from. I could add an icon to make this easier to see or something like that.