json-path / JsonPath

Java JsonPath implementation
Apache License 2.0
8.86k stars 1.64k forks source link

https://jsonpath.herokuapp.com/ #886

Open RSapru opened 1 year ago

RSapru commented 1 year ago

https://jsonpath.herokuapp.com/ is not working, please let us know if there is an alternate website for expression evaluation

psumiya commented 1 year ago

I am not a maintainer of this repository, but I built a personal alternative here: https://sumiya.page/jpath.html

You are welcome to try if it fits your needs.

RSapru commented 1 year ago

thx, but I am not able to make it work for a simple use cases

psumiya commented 1 year ago

Oh, that's unfortunate.

Hopefully the site helps someone else using it in the way I am using it. For reference, the site works successfully for all of the Path Examples mentioned on the README of this repo (https://github.com/json-path/JsonPath).

RSapru commented 1 year ago

I guess it is not working for me, as I am getting lot of CORS errors image

psumiya commented 1 year ago

Just to understand this better. When you go through the following steps:

  1. Open https://sumiya.page/jpath.html on a browser (Safari/Chrome)
  2. Click Submit

You get the above CORS error. Is that correct?

RSapru commented 1 year ago

Yes, that is correct

RSapru commented 1 year ago

please ignore, my firewall setting were blocking calls to your service

danielaparker commented 1 year ago

I am not a maintainer of this repository, but I built a personal alternative here: https://sumiya.page/jpath.html

You are welcome to try if it fits your needs.

Would it be possible to add an option to produce normalized paths? I believe https://jsonpath.herokuapp.com/ had that.

Thanks! Daniel

psumiya commented 1 year ago

Do you mind opening a feature request here on how you expect it to work? https://github.com/psumiya/json-path-web

danielaparker commented 1 year ago

Sure. Thank you for providing this Heroku replacement. On Thursday, March 16, 2023 at 11:10:50 a.m. EDT, Sumiya @.***> wrote:

Do you mind opening a feature request here on how you expect it to work? https://github.com/psumiya/json-path-web

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

tresni commented 1 year ago

I stood up an instance of the webapp on Fly.io - https://jsonpath.fly.dev/

I'll open a PR shortly with the configuration I used to do it.