Skip to content

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

@Nick-Gottschlich

Description

@Nick-Gottschlich

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions