Bro, same. My go-to for json parse python is this:
```python
try:
data = json.loads(raw_response)
except json.JSONDecodeError as e:
print(f"Failed to parse: {e}")
data = {}
```
For nested data, I’ve started using dict comprehensions to filter what I need. Like `{k: v for k, v in data.items() if k in ['needed_key']}`. Not perfect but helps!
```python
try:
data = json.loads(raw_response)
except json.JSONDecodeError as e:
print(f"Failed to parse: {e}")
data = {}
```
For nested data, I’ve started using dict comprehensions to filter what I need. Like `{k: v for k, v in data.items() if k in ['needed_key']}`. Not perfect but helps!
