GithubHelp home page GithubHelp logo

Comments (5)

remorhaz avatar remorhaz commented on June 15, 2024 1

Python behaviour does not help guide us as it will give an array out of bounds error

I interpreted Python errors as guide for returning an empty result.

from json-path-comparison.

cburgmer avatar cburgmer commented on June 15, 2024

We were indeed missing a query for this case, I added one: https://cburgmer.github.io/json-path-comparison/results/bracket_notation_with_negative_number_on_short_array.html

Turns out that Proposal A is not aligned with the consensus, and I would say the proposal is also plain wrong

IMHO this should also correlate with the positive number case which shows a clear consensus: https://cburgmer.github.io/json-path-comparison/results/bracket_notation_with_number_on_short_array.html

Should we change Proposal A's implementation in this case?

from json-path-comparison.

glyn avatar glyn commented on June 15, 2024

Should we change Proposal A's implementation in this case?

Yes, I think so.

from json-path-comparison.

cburgmer avatar cburgmer commented on June 15, 2024

Pushed a change, happy to see this closed if you agree.

from json-path-comparison.

glyn avatar glyn commented on June 15, 2024

Yes, the fix seems good. Thanks.

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.