#json-diff #diff #json #patch #json-file

jsondiff_rs

JSON Diff implementation in Rust

1 unstable release

0.1.0 Mar 12, 2023

#9 in #json-diff


Used in jsondiffpatch_rs

MIT license

30KB
853 lines

diff

diff two json file

USAGE:
    jsondiffpath-cli diff <LEFT_JSON> <RIGHT_JSON>

ARGS:
    <LEFT_JSON>
    <RIGHT_JSON>

OPTIONS:
    -h, --help    Print help information

e.g.

LEFT_JSON:

{
    "bar": [
        1, 2, 3
    ],
    "foo": 10
}

RIGHT_JSON:

{
    "bar": [
        2, 3, 4
    ],
    "foo": 11
}

diff:

diff_example.png

Dependencies

~0.8–1.7MB
~37K SLoC