Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Graph not rendering correctly from JSON #396

Open
sandeepkumar-aitha opened this issue Feb 24, 2024 · 1 comment
Open

[BUG]: Graph not rendering correctly from JSON #396

sandeepkumar-aitha opened this issue Feb 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sandeepkumar-aitha
Copy link

Issue description

Issue

When I try to display below JSON into graphical representation using https://jsoncrack.com/editor , it showing wrong representation.

{ "sys": { "type": "Array" }, "pages": {}, "limit": 100, "items": [] }

Expected

"limit" is not root element and it should show along "sys", "pages" and "items".

Media & Screenshots

image
image

Operating system

  • OS: Windows 11
  • Browser: Chrome

Priority this issue should have

High (immediate attention needed)

@sandeepkumar-aitha sandeepkumar-aitha added the bug Something isn't working label Feb 24, 2024
@AykutSarac
Copy link
Owner

The parent nodes (array keys, object keys and objects) are always part of their parent nodes. This eliminates the need of creating an empty parent node and simplify the visualization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants