Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Nick-Gottschlich opened this issue Nov 7, 2017 · 1 comment

Comments

@Nick-Gottschlich
Copy link

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).

@jimmywarting
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants