man, i remember being confused about this too! for how to put json data into a dictionary python, json.loads() is your friend for strings.
but if it’s from a file, you gotta open it first. here’s how:
```python
import json
with open('stuff.json') as f:
data = json.load(f)
```
also, if your json is messy, try https://jsonlint.com/ to clean it up first.
but if it’s from a file, you gotta open it first. here’s how:
```python
import json
with open('stuff.json') as f:
data = json.load(f)
```
also, if your json is messy, try https://jsonlint.com/ to clean it up first.
