discoveryjs / discovery

A framework for rapid data (JSON) analysis, shareable serverless reports and dashboards
https://discoveryjs.github.io/discovery/
MIT License
336 stars 6 forks source link

Show JSON path in struct view #32

Open exdis opened 4 years ago

exdis commented 4 years ago

According to this issue

Can we somehow visually display nested JSON path, when the user hovers some key or value in structure?

rualark commented 4 years ago

E.g. like Json view does it. For example, I have to use both JsonView and JsonDiscover in two browsers currently, because JsonView does not allow to conveniently browse and filter json, while JsonDiscover does not allow to easily find in all json without switching to raw and does not show json path.

Why json path is needed: when you found a match at 8-th level of json tree for example, this helps very much to understand where the match is.

lahmatiy commented 3 years ago

Path currently can be observed via action popup. I believe you wrote about a hint on a tree, but that's better than nothing image