json-diff
json-diff copied to clipboard
Ability to separate JSON returned by 'diff'
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 that new includes:
- created values
- new values of modified elements
and old includes:
- deleted values
- old values of modified elements