ng-diff-match-patch icon indicating copy to clipboard operation
ng-diff-match-patch copied to clipboard

Compare 2 objects

Open hsdhott opened this issue 5 years ago • 0 comments

Is there a way to compare two objects instead of a string. Here is my from and to object:

from = {
    testString: "testing",
    filter: {
        fromDate: "2019-09-22T17:23:00.325Z",
        toDate: "2019-10-22T17:23:00.325Z",
        testId: "5678"
    },
    size: ""
};

to = {
    testString: "modifiedTest",
    filter: {
        fromDate: "2019-09-22T17:23:00.325Z",
        toDate: "2019-10-22T17:23:00.325Z",
        testId: "58"
    },
    size: ""
};

hsdhott avatar Oct 22 '19 22:10 hsdhott