在json净荷下方,如何断定像空手道那样不存在D节点。
{
DTO:{
content : [
A: "";
B: "";
C:""
]
}
}
答案 0 :(得分:1)
阅读文档:https://github.com/intuit/karate#fuzzy-matching
* def response = { foo: 'bar' }
* match response == { foo: '#present', baz: '#notpresent' }
您的示例不是格式正确的JSON,请不要再这样做。