ashphy/jsonpath-online-evaluator

Bookmark feature to easily share a URL with path and JSON body

lf-novelt opened this issue · 0 comments

Hello,

Thanks for this site that we use regularly.
Currently to share a Path expression and its result to a colleague, I have to screenshot the whole site, which is not really convenient to share some JSON context.

Can we envision that both the Path expression and the body would be encoded as URL parameters so that we can share the complete URL to anyone and it would open the same expression and result directly?
No need for server side storage as everything would be encoded in the URL.

There are some length limitation but that should work ok for most use cases.

As an example, I am thinking of https://mermaid-js.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoiZ3JhcGggVERcbiAgQVtDaHJpc3RtYXNdIC0tPnxHZXQgbW9uZXl8IEIoR28gc2hvcHBpbmcpXG4gIEIgLS0-IEN7TGV0IG1lIHRoaW5rfVxuICBDIC0tPnxPbmV8IERbTGFwdG9wXVxuICBDIC0tPnxUd298IEVbaVBob25lXVxuICBDIC0tPnxUaHJlZXwgRltmYTpmYS1jYXIgQ2FyXVxuXHRcdCIsIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In19 where the whole schema definition is included in the URL

Thanks for the support.

Please thumbs up if you want me to implement such a feature.