类 AbstractPrimitiveJsonNeat
java.lang.Object
me.codeleep.jsondiff.core.handle.AbstractTypeCheck
me.codeleep.jsondiff.core.handle.primitive.AbstractPrimitiveJsonNeat
- 直接已知子类:
PrimitiveTypeJsonNeat
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleancheck(Object expect, Object actual, me.codeleep.jsondiff.common.model.JsonCompareResult result, me.codeleep.jsondiff.common.model.TravelPath travelPath) 校验类型是否一致me.codeleep.jsondiff.common.model.JsonCompareResultdiff(com.alibaba.fastjson2.JSONArray expect, com.alibaba.fastjson2.JSONArray actual, me.codeleep.jsondiff.common.model.TravelPath travelPath) me.codeleep.jsondiff.common.model.JsonCompareResultdiff(com.alibaba.fastjson2.JSONObject expect, com.alibaba.fastjson2.JSONObject actual, me.codeleep.jsondiff.common.model.TravelPath travelPath)
-
构造器详细资料
-
AbstractPrimitiveJsonNeat
public AbstractPrimitiveJsonNeat()
-
-
方法详细资料
-
diff
public me.codeleep.jsondiff.common.model.JsonCompareResult diff(com.alibaba.fastjson2.JSONArray expect, com.alibaba.fastjson2.JSONArray actual, me.codeleep.jsondiff.common.model.TravelPath travelPath) -
diff
public me.codeleep.jsondiff.common.model.JsonCompareResult diff(com.alibaba.fastjson2.JSONObject expect, com.alibaba.fastjson2.JSONObject actual, me.codeleep.jsondiff.common.model.TravelPath travelPath) -
check
public boolean check(Object expect, Object actual, me.codeleep.jsondiff.common.model.JsonCompareResult result, me.codeleep.jsondiff.common.model.TravelPath travelPath) 从接口复制的说明:TypeCheck校验类型是否一致- 指定者:
check在接口中TypeCheck- 覆盖:
check在类中AbstractTypeCheck- 返回:
-