This commit is contained in:
shiziyuan9527 2020-11-24 17:54:43 +08:00
commit 66561c5c71

View File

@ -48,10 +48,6 @@ public class JsonPathUtils {
String o_json_path = "$" + jsonPath.next().replaceAll("/", "."); String o_json_path = "$" + jsonPath.next().replaceAll("/", ".");
String value = JSONPath.eval(jsonObject, o_json_path).toString(); String value = JSONPath.eval(jsonObject, o_json_path).toString();
if(o_json_path.toLowerCase().contains("id")) {
continue;
}
if(value.equals("") || value.equals("[]") || o_json_path.equals("")) { if(value.equals("") || value.equals("[]") || o_json_path.equals("")) {
continue; continue;
} }