我有以下json,我正在尝试根据requestId
中的值获得teamId
。
我正在尝试使用json路径
$.[*].teamAssignments[?(@.teamId == 'Team:144')]..
这个json:
[
[
{
"requestId": "56cd284767c74d3d4dd3ec81",
"role": "Software Engineer",
"roleName": "Software Engineer",
"teamAssignments": [
{
"teamId": "Team:144",
"teamName": "ABC!",
"teamFactoryNumber": "123",
}
]
}
]
]
有没有办法可以从requestId
值中检索teamId
?