Skip to content

feat(jsonpath): add a real jsonpath parser#1568

Closed
JannikBulow wants to merge 2 commits intoTwiN:masterfrom
JannikBulow:master
Closed

feat(jsonpath): add a real jsonpath parser#1568
JannikBulow wants to merge 2 commits intoTwiN:masterfrom
JannikBulow:master

Conversation

@JannikBulow
Copy link

Library used is https://github.com/oliveagle/jsonpath I made sure to check the output of the library so tests would succeed. This technically means that it's not 100% correct JSONPath output.

Summary

I decided to switch out the "half-baked json path implementation that needs some love" with an actual library as I needed a filter selector for my status page. I have done my best to keep the output the same as the older parser so no one will have to update their conditions.

I am not very good at writing tests or documentation so I simply haven't, but all the existing tests passed.

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

Library used is https://github.com/oliveagle/jsonpath
I made sure to check the output of the library so tests would succeed. This technically means that it's not 100% correct JSONPath output.
@github-actions github-actions bot added the feature New feature or request label Mar 5, 2026
I forgot to run this before the first commit.
@yurivangeffen
Copy link

We could really use this!

@JannikBulow JannikBulow closed this Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants