标签: jsonpath
给出一些json,例如:
{ "firstName": "John", "lastName" : "Doe", "gender" : "Male" }
是否有可能使jsonpath评估为例如如果"true"是"gender":"Male",如果"false"是"gender:"Female"?
"true"
"gender":"Male"
"false"
"gender:"Female"