[b]"Best way to JSON Python get all values for key? Need help!"[/b] or [b]"How to JSON Python get all values for k

18 Replies, 1034 Views

Check out `glom`! It's a bit quirky but powerful for nested data.

```python
from glom import glom
result = glom(data, ('a',)) # but you'll need to tweak for deep nesting
```
Docs: [glom](https://glom.readthedocs.io/). Not perfect, but worth a look.

Messages In This Thread



Users browsing this thread: 1 Guest(s)