Add hovering descriptions for some/all JSON entries #25
Closed
mountaindude
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
I've just released an updated version, v2.8.1, which includes better path-mapping support for array objects. Sorry if some of the discussion has disappeared, I've converted the profile to an organisation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Great component, love it!
First, I realise my use case/suggestion is probably a bit off the main path of this component, but sharing ideas is a good thing, I figure.
I use JsonTree to visualise a config file that is used by a Node.js app. The app has a small embedded http server that serves a single page that shows the config file. It's just for convenience, so the app admin doesn't have to dig up the config file from disk to inspect what is in it.
So, as it is a config file in Json that is visualised, each node in the file has a very specific meaning.
Many of those nodes also deserve a clarification, what that specific config property does or controls in the underlying app.
Now I am playing with the idea of annotating the json tree view with small, hovering description texts that explain what each node in the tree does. This would essentially be a form of "documentation site lite".
For this to work there has to be a way to associate (short) text strings with specific points in the Json structure.
A lookup table that maps Json node to text string, then a way to show those strings at the correct time and location on screen.
Beta Was this translation helpful? Give feedback.
All reactions