Skip to content

[Feature request] Access by path #1053

Description

@SylvainCorlay

It would be great if there was accessors by path in a JSON object:

for example, if we have a JSON object x containing

{
    "foo": {
        "bar": {
            "value": 1   
        },
        "baz": {
            "value": 3
        }
    }
}

x[{"foo", "baz"}] would return a JSON object containing

{
    "value": 3
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    solution: proposed fixa fix for the issue has been proposed and waits for confirmation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions