string to json

This commit is contained in:
Şefik Serangil 2020-02-10 20:24:05 +03:00
parent 351131261d
commit 7673d01077

View File

@ -115,6 +115,7 @@ Then, you can retrieve the fields of the response object easily in Python.
```python
import json
demography = json.loads(demography)
print("Age: ",demography["age"])
```