Skip to content

Commit 0894f11

Browse files
committed
update-readme(readme): update-readme
1 parent e1737ae commit 0894f11

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ public class UseExample {
102102

103103
### 2.配置
104104

105-
| 配置 | 类型 | 备注 |
106-
| ---------------- | ------------------------------ | ------------------------------------------------------------ |
107-
| ignoreOrder | boolean | 是否比较过程中忽略数组顺序 |
108-
| mapping | Map<String, String> | 将真实字段映射到期望字段,key是真实字段name,value是期望的字段name |
109-
| ignorePath | Set\<String\> | 当对比的路径完全匹配时会被跳过。遇到数组使用 `[]` 即可。无需填入下标 |
110-
| ignoreKey | Set\<String\> | 对比object时。或忽略该key。对整个json生效 |
105+
| 配置 | 类型 | 备注 |
106+
| ---------------- | ------------------------------ |------------------------------------------------------------------------|
107+
| ignoreOrder | boolean | 是否比较过程中忽略数组顺序 |
108+
| mapping | Map<String, String> | 将真实字段映射到期望字段,key是真实字段name,value是期望的字段name.当真实字段和期望的字段对应的key都存在时,该配置才生效 |
109+
| ignorePath | Set\<String\> | 当对比的路径完全匹配时会被跳过。遇到数组使用 `[]` 即可。无需填入下标 |
110+
| ignoreKey | Set\<String\> | 对比object时。或忽略该key。对整个json生效 |
111111

112112
> `2.0.1-RC1-RELEASE` 之后版本中移除了 `keyFunction` 配置参数。可以使用 `ignorePath` 来代替达到同样的效果。
113113

0 commit comments

Comments
 (0)