在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:nsf/jsondiff开源软件地址:https://github.com/nsf/jsondiff开源编程语言:Go 100.0%开源软件介绍:JsonDiff libraryThe main purpose of the library is integration into tests which use json and providing human-readable output of test results. The lib can compare two json items and return a detailed report of the comparison. At the moment it can detect a couple of types of differences:
Being a superset means that every object and array which don't match completely in a second item must be a subset of a first item. For example: {"a": 1, "b": 2, "c": 3} Is a superset of (or second item is a subset of a first one): {"a": 1, "c": 3} Library API documentation can be found on godoc.org: https://godoc.org/github.com/nsf/jsondiff You can try LIVE version here (compiled to wasm): https://nosmileface.dev/jsondiff The library is inspired by http://tlrobinson.net/projects/javascript-fun/jsondiff/ |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论