File tree Expand file tree Collapse file tree 6 files changed +48
-0
lines changed
Expand file tree Collapse file tree 6 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ name = "json_diff"
33version = " 0.1.0"
44authors = [" ksceriath" ]
55edition = " 2018"
6+ license = " Unlicense"
7+ description = " A small diff tool utility for comparing jsons"
8+ readme = " README.md"
9+ homepage = " https://github.com/ksceriath/json-diff"
10+ repository = " https://github.com/ksceriath/json-diff"
11+ keywords = [" cli" , " diff" , " json" ]
12+ categories = [" command-line-utilities" ]
613
714# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
815
Original file line number Diff line number Diff line change 11# json-diff
2+
3+ A small command line utility to compare two jsons.
4+
5+ Usage Example:
6+ json_diff f source1.json source2.json
7+ json_diff d '{...}' '{...}'
8+
9+ Option:
10+ f : read input from json files
11+ d : read input from command line
12+
Original file line number Diff line number Diff line change 1+ {
2+ "a" :" b" ,
3+ "b" :{
4+ "c" :{
5+ "d" :true ,
6+ "e" :5 ,
7+ "f" :9 ,
8+ "h" :{
9+ "i" :true ,
10+ "j" :false
11+ }
12+ }
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ {
2+ "a" :" b" ,
3+ "b" :{
4+ "c" :{
5+ "d" :true ,
6+ "e" :6 ,
7+ "g" :0 ,
8+ "h" :{
9+ "i" :false ,
10+ "k" :false
11+ }
12+ }
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ {}
Original file line number Diff line number Diff line change 1+ {"a" :" b"
You can’t perform that action at this time.
0 commit comments