For quick debugging, I sometimes just print the json directly:
```python
print(open('data.json').read())
```
But yeah, `json.load()` is the proper way. Also, watch out for encoding issues—sometimes you need `open(..., encoding='utf-8')`.
```python
print(open('data.json').read())
```
But yeah, `json.load()` is the proper way. Also, watch out for encoding issues—sometimes you need `open(..., encoding='utf-8')`.
