caldwell / renderjson

Render JSON into collapsible HTML
http://caldwell.github.io/renderjson
415 stars 91 forks source link

Feature request - disclosures on the left #33

Open caralmar opened 5 years ago

caralmar commented 5 years ago

Thanks for this wonderful tool. I preview large JSON docs and it would be better to have the disclosure on the left. This way, it is offset from the rest of the keys and you can quickly visualize which keys have children by looking at the left.

For example, I work with NodeRED, and they render objects using this type of disclosure: image

If I look at the same object section using renderjson: image

As you can see, it is harder to tell which keys have children. Thanks again!

Almenon commented 5 years ago

You're right, disclosures on the left seems to be the better approach. It's what dev tools and vscode debugger does.