jsonhero-web icon indicating copy to clipboard operation
jsonhero-web copied to clipboard

Add a button to copy the path of a json field

Open sascha10000 opened this issue 2 years ago • 0 comments

At the top there is the breadcrumb shown anyways so adding a copy functionality sounds quite easy. I started to use JSON Hero at the start of this week and it is an awesome tool for huge JSON files with a lot of structure while developing. Second time I really need to get a path fairly deep nested and type it by hand.

e.g.: { "someField": "a", "someObj"": { "someArray": [7,8,9] } }

When I now navigate to the 2nd element of the "someArray" it would be nice to copy that path for example like: "someObj.someArray[2]"

I would be open to implement it myself and contribute. if i find time this week. Thx for the great work and being OSS.

sascha10000 avatar Apr 27 '22 08:04 sascha10000