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

Do we still have the limitation of json size if we deploy a local version on my own machine? #382

Closed sudoghut closed 9 months ago

sudoghut commented 9 months ago

Feature

Is it possible to remove the json size limitation for local users? When I try to visualize a big json (14333 lines) in my local version (deployed the open-sourced version in my local environment) of jsoncrack. Jsoncrack shows that I still need to subscribe to the pro version. Is that a feature that you expected, or is there a freedom for local open-sourced users to visualize a big json without limitation? Thanks.

image

Alternative solutions or implementations

No response

Other context

No response

AykutSarac commented 9 months ago

Limitations are not disabled by default but you can tweak it within useUser.ts.

AntoineLu commented 2 weeks ago

How to do so? I do not find this file in the source. Best.

sudoghut commented 2 weeks ago

How to do so? I do not find this file in the source. Best.

Now, the solution is to add a line comment to return <NotSupported />; in jsoncrack.com\src\containers\Editor\components\views\GraphView\index.tsx.

https://github.com/AykutSarac/jsoncrack.com/blob/59c2588709e3ee3c560493616fcebdfbe683a0c7/src/containers/Editor/components/views/GraphView/index.tsx#L169