JSONVue icon indicating copy to clipboard operation
JSONVue copied to clipboard

Feature Request: Right click on a value should bring up an option to copy the entire path

Open Nick-Gottschlich opened this issue 7 years ago • 1 comments

So for example if you have

{
  "firstName": "John",
  "lastName": "Smith",
  "isAlive": true,
  "age": 25,
  "address": {
    "streetAddress": "21 2nd Street",
    "city": "New York",
    "state": "NY",
    "postalCode": "10021-3100"
  },
  "phoneNumbers": [
    {
      "type": "home",
      "number": "212 555-1234"
    },
    {
      "type": "office",
      "number": "646 555-4567"
    },
    {
      "type": "mobile",
      "number": "123 456-7890"
    }
  ],
  "children": [],
  "spouse": null
}

And you right click on one of the types there should be an option saying something like "copy JSON path" and would copy phoneNumbers.type to your clipboard.

I'm going to start working on implementing this, but I wanted to create an issue first in case this had been discussed or anybody had started working on this (or planned to).

Nick-Gottschlich avatar Nov 07 '17 01:11 Nick-Gottschlich

+1

jimmywarting avatar Jul 22 '18 11:07 jimmywarting