AykutSarac / jsoncrack.com

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML, CSV and more, into interactive graphs.
https://jsoncrack.com/
Other
33.5k stars 2.15k forks source link

[BUG]: inbound links no longer working, gets overwritten by default #253

Closed AshSimmonds closed 1 year ago

AshSimmonds commented 2 years ago

Issue description

Try using any custom stuff in the JSON window, then export the link, then try and use that link - it always reverts back to the default payload.

Media & Screenshots

No response

Operating system

Priority this issue should have

Medium (should be fixed soon)

AykutSarac commented 2 years ago

Can you provide example of data with steps to reproduce?

Tatarkow commented 2 years ago

Can you provide example of data with steps to reproduce?

I'm experiencing the issue as well. For instance, clicking on the following link (generated by the "Create a Share Link" functionality based on {"squadName": "Super hero squad"}) results in rendering the default JSON (the one with 3 members).

https://jsoncrack.com/editor?json=%5B%5B%22squadName%22%2C%22a%7C0%22%2C%22Super%20hero%20squad%22%2C%22o%7C1%7C2%22%5D%2C%223%22%5D

ahmetilhn commented 1 year ago

This bug has been fixed by me PR: https://github.com/AykutSarac/jsoncrack.com/pull/278 fyi @AshSimmonds @Tatarkow

AykutSarac commented 1 year ago

Fixed with v2.5.0