Skip to content
forked from aereal/jsondiff

functions to calculate JSON objects differences with gojq filter

License

Notifications You must be signed in to change notification settings

fujiwara/jsondiff

 
 

Repository files navigation

status PkgGoDev

jsondiff

jsnodiff provides functions to calculate JSON objects differences with gojq filter.

Synopsis

See examples on pkg.go.dev.

Installation

go get github.com/aereal/jsondiff

CLI

go install github.com/aereal/jsondiff/cmd/jsondiff@latest
jsondiff -only '.d' ./testdata/from.json ./testdata/to.json
# --- from.json
# +++ to.json
# @@ -1,2 +1,2 @@
# -4
# +3

See also

  • gojq
    • Thanks to this library, it is able to filter JSON structures

License

See LICENSE file.

About

functions to calculate JSON objects differences with gojq filter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Go 100.0%