Skip to content

Performance issue #4

@ghost

Description

Not so much of an issue but on large json strings it tends to be really slow.currently I'm using it for a json with around 6000 elements and it does the job just fine. It does appear to be working far better if all elements initially are collapsed. In essence:
js/jquery.jsonview.js on line 53 - remove the if/else statement and leave simply the 'else' case
ele = '<li class="object-prop...'
That way even with 6000 elements it does behave alright.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions