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

Function to get the outer Location for a JsonPath #95

Open
ivangsa opened this issue Aug 4, 2021 · 0 comments
Open

Function to get the outer Location for a JsonPath #95

ivangsa opened this issue Aug 4, 2021 · 0 comments

Comments

@ivangsa
Copy link

ivangsa commented Aug 4, 2021

User story.

As a developer, I can get the outer Location for a JsonPath, so that I can copy to clipboard, delete it or insert as a sibling.

Is your feature request related to a problem?

getLocationForJsonPath gives the inner boundaries of a JsonPath so is great to update json content, but not so much for deleting o inserting into a json file (without editing unnecesary portions of text).

Calculate the outter location in the yml version of this library is somehow easy but not in the json version.

Describe the solution you'd like

Maybe a new function getOuterLocationForJsonPath

Additional context

Add any other context or screenshots about the feature request here.

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

1 participant