jmespath / jmespath/jmespath.js

Feature request: access parent object

Open
#22 15 comments 33 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
847
Forks
101
PR merge metrics
No merged PRs in 30d

Description

As a user, I want to use pipe or a modifier or a function to access the parent object.

```
reservations[].instances[].[tags[?Key=='Name'].Values[] | [0], type, state.name] | [..]
```

or

```
reservations[].instances[].[tags[?Key=='Name'].Values[] | [0], type, state.name] | parent(@)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.