json-diff
json-diff copied to clipboard
Structural diff for JSON files
Would there be interest in having an exported function which receives an Object created by `diff()` as an argument and returns an Object with 2 keys, new and old. So...
I have many years of client side javascript but nodejs is new to me. I keep getting the following error when I run: npm test? PS C:\DevProjects\jsonDiffProjects\json-diff-master> npm test >...
Newlines appear to be removed in diffs, easy workaround is to replace them with a template string but it would be nice if we could preserve them.
json-diff was working perfectly fine with my angular 11 but when i migrated to 12. it started giving errors for assert. So I installed it ( npm i assert) after...
or at least support for https://esm.sh
Hi, I need to diff JSON files which contain large numbers. Even though your module is generally very useful for comparing JSON files, it is unable to create proper diffs...
# Source Data ``` baseJson: [{ "a": 100, "b": 100 }] actualJson: [{ "a": 101, "b": 105 }] ``` # Custom Rule ``` threshold = 0.01 diff = abs((actualJsonValue -...
As you're no doubt familiar with, Github's diffs show not only which *lines* have changed, but also frequently *which bits* of the line changed, when you make changes to an...
I created a benchmark suite to test multiple JSON diff frameworks head-to-head: https://github.com/justsml/json-diff-performance It's coverage is hardly complete, but it's pretty easy to extend - main goals were testing ops/sec...
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨 To enable Greenkeeper, you need to make sure that a [commit status](https://help.github.com/articles/about-statuses/) is reported on all...