jsoncrack.com
jsoncrack.com copied to clipboard
[BUG]: The child nodes of the same parent are rendered at different levels
Issue description
The child fields of the same parent are rendered at different levels.
Sample JSON

Current Render

The field "child3" looks like a child node of "child1,child2" which is not correct.
Media & Screenshots
No response
Operating system
-
OS: macOS Monterey:
-
Browser: Safari
-
Any other details...
Priority this issue should have
Low (slightly annoying)
To display parents like arrays and objects that is the intended behaviour, what would be the expected behaviour in this case?
My expectation is something like the below diagram

Please ignore the alignment in the image
I see similar comments about it, however it will directly impact negatively when visualizing huge json files. Though current one may not reflect what exactly the data is, it illustrates in a better way in general.