Having json, provide below:
[
{
"delta": {
"status": {
"old": {
"status": "Stop"
},
"new": {
"status": "Start"
}
}
}
}
]
How I can get only delta which have new.status = 'Start' ?
I try to use Apache camel choice().when().jsonpath(...)
Why below statement isn't work ?
$..[?(@.delta.status.new.status=='Start')]
$..delta.status.new[?(@.status=='Start')]
I used jsonpath.com