Commit 026b157
Issue #128 Fix unsupported recursive descent targets to match interpreter
Addresses review comment: For unsupported recursive descent targets like
$..[0:2], $..[?(@.x)], or $..['a','b'], the compiled code was incorrectly
adding the current node to results. The interpreter logs and returns no
matches for these cases.
Changed to generate a no-op comment instead of adding to results, which
matches the interpreter's semantics.
Co-authored-by: simbo1905 <simbo1905@60hertz.com>1 parent cbdd23b commit 026b157
File tree
1 file changed
+4
-3
lines changed- json-java21-jsonpath/src/main/java/json/java21/jsonpath
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
323 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
324 | 325 | | |
325 | 326 | | |
326 | 327 | | |
| |||
0 commit comments