接口 ObjectJsonNeat
- 所有超级接口:
JsonNeat
- 所有已知实现类:
AbstractObjectJsonNeat,ComplexObjectJsonNeat
-
方法概要
修饰符和类型方法说明me.codeleep.jsondiff.common.model.JsonCompareResultdetectDiff(com.alibaba.fastjson2.JSONObject expect, com.alibaba.fastjson2.JSONObject actual) 比较对象
-
方法详细资料
-
detectDiff
me.codeleep.jsondiff.common.model.JsonCompareResult detectDiff(com.alibaba.fastjson2.JSONObject expect, com.alibaba.fastjson2.JSONObject actual) 比较对象- 参数:
expect- 期望的json对象actual- 实际的json对象- 返回:
- 返回比较结果
- 抛出:
IllegalAccessException- 发生异常直接抛出
-