Not able to ignore the fields in jsons
nikhilbhavsar5895 opened this issue · 3 comments
nikhilbhavsar5895 commented
Hi,
Not able to ignore fields in JSON while comparing. Can any one give the example?
wI2L commented
Hello @nikhilbhavsar5895
Short answer, no it's not possible to instruct the lib to ignore one or more fields during the comparison.
I don't know if it make sense to add a feature like this, since the removal of fields that shouldn't be compared could be done prior to the comparison.
I'm going to check if it is easily doable in a practicable way, without too much impact on performance.
krunal-lia commented
I would love to have this feature
wI2L commented
@nikhilbhavsar5895 @krunal-lia
I implemented a new option in this commit.
I'll make a new pre-release in the next days. Keep in mind that I may update the implementation of this option in the future.