https://github.com/gopalrg310/json-diff
To determine the difference between two json files that provide both boolean as well as values, where each json file can be n numbers.
https://github.com/gopalrg310/json-diff
comparison diff dockerfile golang json testcase
Last synced: 3 months ago
JSON representation
To determine the difference between two json files that provide both boolean as well as values, where each json file can be n numbers.
- Host: GitHub
- URL: https://github.com/gopalrg310/json-diff
- Owner: gopalrg310
- Created: 2021-01-26T10:18:56.000Z (almost 5 years ago)
- Default Branch: Deeper-Diff
- Last Pushed: 2022-07-25T05:31:00.000Z (over 3 years ago)
- Last Synced: 2023-09-05T03:50:21.098Z (over 2 years ago)
- Topics: comparison, diff, dockerfile, golang, json, testcase
- Language: Go
- Homepage:
- Size: 8.83 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# deeper-Diff
This will be used to find the json diff from the code itself.
# To Find the Json diff in boolean
Try GetjsonDiffInBool with two comparable json
# To Find the Json diff in Value
Try GetjsonDiffInValue with two comparable json
When there is a comparison between two different json which can be even million line this fuction will give you the exact difference
Access it by `go get github.com/gopalrg310/json-diff`
To Run test cases
`go test -v`
And do
`go build`
filename1 and filename2 is to take the input file from the user to do comparison
`./json-diff -filename1=json1.json -filename2=json2.json`
To build Docker image `docker build -t json-diff`