jsondiffpatch icon indicating copy to clipboard operation
jsondiffpatch copied to clipboard

array in string diff: why not modified instead of delete + insert

Open mustafa0x opened this issue 1 year ago • 1 comments

left

[
  "a",
  "b"
]

right

[
  "a1",
  "b"
]

diff

Image

{
  "0": [
    "a1"
  ],
  "_t": "a",
  "_0": [
    "a",
    0,
    0
  ]
}

mustafa0x avatar Jun 25 '25 04:06 mustafa0x

me too

fengjinlovewei avatar Dec 24 '25 11:12 fengjinlovewei