Skip to content
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 #6

Closed
1 task
cburgmer opened this issue Jun 16, 2019 · 1 comment
Closed
1 task

Results do not match other implementations #6

cburgmer opened this issue Jun 16, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@cburgmer
Copy link

The following queries provide results that do not match those of other implementations of JSONPath
(compare https://github.com/cburgmer/json-path-comparison/tree/master/comparison):

  • $[:]
    Input:
    ["first", "second"]
    
    Expected output:
    ["first", "second"]
    
    Error:
    thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "$[:]\n^^^^\n"', src/libcore/result.rs:997:5
    note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
    

For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/master/implementations/Rust_jsonpath_lib.

@freestrings freestrings added the bug Something isn't working label Jun 17, 2019
@cburgmer
Copy link
Author

Awesome, thanks for the quick response.

I published an updated table.
There seems to be a regression that slipped in, see https://github.com/cburgmer/json-path-comparison/blob/master/comparison/results/wildcard_bracket_notation_on_array.md. If you are interested, I'm planning on compiling a consumable test set, possibly as a YAML artefact for library authors to consume and integrate (see https://github.com/cburgmer/json-path-comparison#roadmap).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants