mixmaxhq / mixmaxhq/object-path-plus
Find within an array
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to have a syntax to match the first element within an array matching a selector:
payload: [{
type: "other"
value: ""
}, {
type: "email"
value: "john@example.com"
}]
Perhaps we could do something JSONPath-inspired such as payload[{type:"email"}].value
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reviewing the repository’s existing path syntax and parsing entry point, then clarify the selector grammar and behavior for the sample payload. Done means the agreed syntax finds the first matching array element and retrieves its value, with tests covering that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100