Reputation: 451
I want to test value of numFound and needs to be non zero. I have following
Upvotes: 1
Views: 79
Reputation: 14004
I think the case of letters in variable name is important: $..numFound
instead of $..numfound
. Also remember that JSON path returns a valid JSON array, so it will look like this: [148]
.
Upvotes: 2