【发布时间】:2022-01-03 11:41:33
【问题描述】:
我想知道“createdTs”值大于等于444的“Test1”的值。
[
{
"raw" : {
"Test1":"Apple",
"Test2":{
"createdTs": 333,
"langCode": "ko"
}
}
},
{
"raw" : {
"Test1":"Tomato",
"Test2":{
"createdTs": 555,
"langCode": "ko"
}
}
}
]
即使我如下所示调用Jsonpath,它也不起作用。
$[?(@.['Test2'].createdTs > 444)]
我想要的结果如下。
"raw" : {
"Test1":"Tomato",
"Test2":{
"createdTs": 555,
"langCode": "ko"
}
}
【问题讨论】:
标签: jsonpath json-path-expression