1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Skip keys matching a pattern (applied recursively).
```console
$ diffx --ignore-keys-regex "^timestamp$" tests/fixtures/context_test1.json tests/fixtures/context_test2.json
? 1
...
```
Treat numbers as equal if difference is within tolerance.
```console
$ diffx --epsilon 0.01 tests/fixtures/file1.json tests/fixtures/file1.json
```
Ignore case differences in string values.
```console
$ diffx --ignore-case tests/fixtures/case_test1.json tests/fixtures/case_test2.json
...
```
Ignore whitespace differences in strings.
```console
$ diffx --ignore-whitespace tests/fixtures/whitespace_test1.json tests/fixtures/whitespace_test2.json
...
```
Match array elements by ID instead of index.
```console
$ diffx --array-id-key id tests/fixtures/users_v1.json tests/fixtures/users_v2.json
? 1
...
```