Ugh, json read from file python can be such a pain sometimes. One thing that tripped me up was extra whitespace or BOM characters.
Try this:
```python
import json
with open('file.json', 'r') as f:
content = f.read().strip()
data = json.loads(content)
```
Also, print `content` before loading to see if it looks weird.
Try this:
```python
import json
with open('file.json', 'r') as f:
content = f.read().strip()
data = json.loads(content)
```
Also, print `content` before loading to see if it looks weird.
