Skip to content

Function to get the outer Location for a JsonPath #95

Open
@ivangsa

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions