-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results do not match other implementations #60
Comments
I can try to fix the last case first |
Due to the streaming nature of JsonSurfer, Case 2 and 3 with negative step are very hard to implement |
Just out of curiosity, for a query |
Cool. It does make sense. I will try. |
I've just reviewed source code and couldn't figure out a quick fix. So Case 2 & 3 won't be supported in near release |
The following queries provide results that do not match those of other implementations of JSONPath
(compare https://cburgmer.github.io/json-path-comparison/):
$.2
Input:
Expected output:
Error:
$[-1]
Input:
Expected output:
Actual output:
$[-1:]
Input:
Expected output:
Actual output:
$[?(@.key=="some.value")]
Input:
Expected output:
Error:
For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/master/implementations/Java_com.github.jsurfer.
The text was updated successfully, but these errors were encountered: