json-viewer icon indicating copy to clipboard operation
json-viewer copied to clipboard

Show selected key(s) when a node is folded.

Open steka opened this issue 4 years ago • 0 comments

It would be nice if keys could be listed on the options page that will be shown (with its value) when a node is folded (if found). Compressed to one line and maybe limited by n-characters.

Example, if "name" is the among the listed keys, and found in the node, then the folded node will be show as:

{"name": "Lorem ipsum" ↔}

instead of the current:

{↔}

and when key/value is "to long", just truncated with a trailing "...":

{"name": "Ut enim ad minim veniam, quis nostrud exercitation ... ↔}

steka avatar Sep 23 '19 10:09 steka