Skip to content

Faster object preview#126

Open
phplego wants to merge 1 commit into
hivivo:mainfrom
phplego:patch-1
Open

Faster object preview#126
phplego wants to merge 1 commit into
hivivo:mainfrom
phplego:patch-1

Conversation

@phplego

@phplego phplego commented Dec 3, 2022

Copy link
Copy Markdown

JSON.stringify() is really slow on big objects, it cause interface "stucks" on expanding/collapsing nodes. Proposed previewLimited(obj, limit) function works faster because it breaks generating if limit is reached

JSON.stringify() is really slow on big objects, it cause interface "stucks" on expanding/collapsing nodes. Proposed previewLimited(obj, limit) function works faster because it breaks generating if limit is reached
MichaelDoyle added a commit to MichaelDoyle/ngx-json-treeview that referenced this pull request Apr 8, 2025
MichaelDoyle added a commit to MichaelDoyle/ngx-json-treeview that referenced this pull request Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant