-
I've spotted a bug where the demo errors if you change an object in an array and add another object before it.
If you add the following JSON to the demo page you can see the error:
```
{
"a": [{…
karl updated
11 years ago
-
when diffing the following vars (coffeescript)
```
var map1 = [
1,
2,
{val:3}
]
var map2 = [
1,
2,
{val:4}
]
```
I get the total replacement of the object at index 2,…
-
Is there a parser for `diff` language? I mean this:
`"@@ -618,17 +618,17 @@\n via, Bra\n-z\n+s\n il, Chil\n@@ -886,20 +886,13 @@\n re a\n-lso known as\n+.k.a.\n Car\n",`
I want to incrementally sho…
-
I tried to boil this down to the simplest code possible, but basically I'm just deleting a line from my object, generating a delta, then running unpatch to revert it to its' original state. That's whe…
ghost updated
11 years ago
-
Hi
I was wondering if jsondiffpatch.diff([1,2,3],[0,1,2,3]) coud give a more efficient patch? Rather than resulting in 3 items being changed and one being append, e,g:
"{"0":[1,0],"1":[2,1],"2":[3,2…
-
Is it possible to have the comparison be case (in)sensitive, maybe based on an addition parameter?
-
Hi,
I'm using JSONDiffPatch for an important project and I've run into a strange problem. With the input and output below, the library creates the correct patch. However, when you apply the patch to …