mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 21:49:23 +08:00
Merge branch 'master' of https://github.com/metersphere/metersphere
This commit is contained in:
commit
66561c5c71
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user