Giter VIP home page Giter VIP logo

Comments (7)

glyn avatar glyn commented on June 3, 2024 2

Agreed. Please see https://github.com/jsonpath-standard/jsonpath-compliance-test-suite, which is currently not making progress. I stopped work on this to concentrate on editing. One of the most significant hurdles to be overcome is how to cope with non-determinism in the spec (discussed in ietf-wg-jsonpath/draft-ietf-jsonpath-base#60), possibly by allowing tests to specify multiple possible results.

from json-path-comparison.

cburgmer avatar cburgmer commented on June 3, 2024 2

In the meantime, we do have https://github.com/cburgmer/json-path-comparison/blob/master/regression_suite/regression_suite.yaml.

from json-path-comparison.

glyn avatar glyn commented on June 3, 2024

Please note that the JSONPath standard will not necessarily support all cases of consensus in this project. Or, to answer the question in the title of this issue: no.

from json-path-comparison.

yangbodong22011 avatar yangbodong22011 commented on June 3, 2024

Please note that the JSONPath standard will not necessarily support all cases of consensus in this project.

@glyn I agree

but I think test-cases based on https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base are still needed. Or the standard itself contains examples, like JSONPointer does.

from json-path-comparison.

yangbodong22011 avatar yangbodong22011 commented on June 3, 2024

@glyn Thanks for the info, I think when standards and test suites influence each other.
Maybe we can distinguish between "exact" and "fuzzy" types in the test suite result, and for "fuzzy", we sort the results and compare them.

from json-path-comparison.

glyn avatar glyn commented on June 3, 2024

@glyn Thanks for the info, I think when standards and test suites influence each other. Maybe we can distinguish between "exact" and "fuzzy" types in the test suite result, and for "fuzzy", we sort the results and compare them.

Thanks for the suggestion. I haven't thought it through yet...

from json-path-comparison.

yangbodong22011 avatar yangbodong22011 commented on June 3, 2024

@cburgmer Thanks for your yaml file, it's really cool, and i will close this issue.
cc @glyn Regarding the test suite, Is it welcome to add some Filter cases to it now? This project license is GLP 3.0 and my project cannot use it.

from json-path-comparison.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.