import json
# JSON-Objekt (Dictionary)
j = { "name": "Axel",
"alter": 19,
"handys": [
{"modell": "featurephone" },
{"modell": "smartphone" }
]
}
# Typ des Objekts
print(type(j))
# string
s = json.dumps(j)
# Typ des Objekts
print(type(s))
# Inhalt
print(s)