You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://github.com/benjamine/jsondiffpatch/actions?query=branch%3Amaster"><imgsrc="https://github.com/benjamine/jsondiffpatch/actions/workflows/CI.yml/badge.svg?event=push&branch=master"alt="JsonDiffPatch CI status" /></a>
13
+
<ahref="https://twitter.com/beneidel"rel="nofollow"><imgsrc="https://img.shields.io/badge/created%[email protected]"alt="Created by Benjamin Eidelman"></a>
- (optionally) uses [google-diff-match-patch](http://code.google.com/p/google-diff-match-patch/) for long text diffs (diff at character level)
20
27
- smart array diffing using [LCS](http://en.wikipedia.org/wiki/Longest_common_subsequence_problem), **_IMPORTANT NOTE:_** to match objects inside an array you must provide an `objectHash` function (this is how objects are matched, otherwise a dumb match by position is used). For more details, check [Array diff documentation](docs/arrays.md)
21
-
- reverse a delta
22
-
- unpatch (eg. revert object to its original state using a delta)
28
+
- reverse a delta, unpatch (eg. revert object to its original state using a delta)
23
29
- simplistic, pure JSON, low footprint [delta format](docs/deltas.md)
24
30
- multiple output formatters:
25
-
- html (check it at the [Live Demo](http://benjamine.github.io/jsondiffpatch/index.html))
31
+
- html (check it at the [Live Demo](https://jsondiffpatch.com))
26
32
- annotated json (html), makes the JSON delta format self-explained
Copy file name to clipboardExpand all lines: docs/arrays.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,4 +76,4 @@ For more details check [delta format documentation](deltas.md)
76
76
77
77
#### Html
78
78
79
-
On html you will see moves as fancy curved arrows (check [Live Demo](http://benjamine.github.com/jsondiffpatch/demo/index.html) ), these are implemented using SVG elements and an embedded script tag, they will only show up [if your browser supports SVG](http://caniuse.com/svg)
79
+
On html you will see moves as fancy curved arrows (check [Live Demo](https://jsondiffpatch.com) ), these are implemented using SVG elements and an embedded script tag, they will only show up [if your browser supports SVG](http://caniuse.com/svg)
Copy file name to clipboardExpand all lines: docs/deltas.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This format was created with a balance between readability and low footprint in
8
8
- to represent changed parts, arrays and magic numbers are used to keep a low footprint (i.e. you won't see verbosity like `"type": "added"`)
9
9
- keep it pure JSON serializable
10
10
11
-
A great way to understand this format is using the "Annotated JSON" option in the [Live Demo](http://benjamine.github.io/jsondiffpatch/index.html), and try the different left/right examples, or edit left/right JSON to see the annotated delta update as your type.
11
+
A great way to understand this format is using the "Annotated JSON" option in the [Live Demo](https://jsondiffpatch.com)), and try the different left/right examples, or edit left/right JSON to see the annotated delta update as your type.
Copy file name to clipboardExpand all lines: docs/formatters.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Formatters
2
2
3
-
Some formatters are included that let you convert a JSON delta into other formats, you can see some of these used in the [Live Demo](https://benjamine.github.io/jsondiffpatch/index.html)
3
+
Some formatters are included that let you convert a JSON delta into other formats, you can see some of these used in the [Live Demo](https://jsondiffpatch.com))
0 commit comments