File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed
json-diff-test/src/main/resources/array Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 43764376 }
43774377 },
43784378 {
4379- "caseName": "多层数组内key 对应【目前不支持】 ",
4379+ "caseName": "多层数组内key 对应",
43804380 "actual": [
43814381 [
43824382 "08020098",
47824782 [
47834783 [
47844784 {
4785- "a ": {
4785+ "b ": {
47864786 "b": 1
47874787 }
47884788 }
49054905 ],
49064906 "option": {
49074907 "mapping": {
4908- "root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].a.a ": "root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].a. b"
4908+ "a ": "b"
49094909 }
49104910 }
49114911 },
55195519 ],
55205520 "option": {
55215521 "mapping": {
5522- "root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. b": "root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. a"
5522+ "b": "a"
55235523 }
55245524 }
55255525 },
55435543 ],
55445544 "option": {
55455545 "mapping": {
5546- "root[]. b": "root[]. a"
5546+ "b": "a"
55475547 }
55485548 }
55495549 },
55655565 ],
55665566 "option": {
55675567 "mapping": {
5568- "root[]. c": "root[]. d"
5568+ "c": "d"
55695569 }
55705570 }
55715571 },
55725572 {
55735573 "caseName": "配置mapping 将a指定为b",
55745574 "actual": [
55755575 {
5576- "a": 2
5576+ "a": 1
55775577 }
55785578 ],
55795579 "expect": [
58855885 "c": 2
58865886 },
58875887 {
5888- "c": 1
5888+ "c": 1,
5889+ "a": 1
58895890 }
58905891 ],
58915892 "option": {
58925893 "mapping": {
5893- "root[]. b": "root[]. c"
5894+ "b": "c"
58945895 },
58955896 "ignorePath": [
58965897 "root[].f"
62766277 }
62776278 },
62786279 {
6279- "caseName": "配置mapping和ignorePath 忽略字段在最后 TODO【目前不支持】 ",
6280+ "caseName": "配置mapping和ignorePath 忽略字段在最后 ",
62806281 "actual": [
62816282 {
62826283 "a": 2
63086309 ],
63096310 "option": {
63106311 "mapping": {
6311- "root[]. b": "root[]. c"
6312+ "b": "c"
63126313 },
63136314 "ignorePath": [
63146315 "root[].f"
87958796 [
87968797 {
87978798 "a": {
8798- "a ": 1
8799+ "b ": 1
87998800 }
88008801 }
88018802 ]
90589059 [
90599060 {
90609061 "a": {
9061- "b ": 1
9062+ "a ": 1
90629063 }
90639064 }
90649065 ]
91809181 ],
91819182 "option": {
91829183 "mapping": {
9183- "root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].a.a ": "root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].a. b"
9184+ "a ": "b"
91849185 }
91859186 }
91869187 },
97949795 ],
97959796 "option": {
97969797 "mapping": {
9797- "root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. b": "root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. a"
9798+ "b": "a"
97989799 }
97999800 }
98009801 },
98189819 ],
98199820 "option": {
98209821 "mapping": {
9821- "root[]. b": "root[]. a"
9822+ "b": "a"
98229823 }
98239824 }
98249825 },
98409841 ],
98419842 "option": {
98429843 "mapping": {
9843- "root[]. c": "root[]. d"
9844+ "c": "d"
98449845 }
98459846 }
98469847 },
1035110352 ],
1035210353 "option": {
1035310354 "mapping": {
10354- "root[]. b": "root[]. c"
10355+ "b": "c"
1035510356 },
1035610357 "ignorePath": [
1035710358 "root[].f"
You can’t perform that action at this time.
0 commit comments