Path as an array
Open
- Dominant language
- CoffeeScript
- Stars
- 191
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
I have an object similar to this:
```json
{
"1": [
{"a": "valueA", "b": "valueB"},
{"a": "valueC", "b": "valueD"},
],
"2": [
{"a": "valueE", "b": "valueF"},
{"a": "valueG", "b": "valueH"},
]
}
```
I want to apply a transformation across all arrays of each key in the object in a similar manner. Using `path`, I can pick up on each key individually and transform as needed but I am having issues applying the same across all other keys in the object.
Is there a way to provide an array of paths like so:
`path: ["1", "2"]`
Or is there another way to do this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.