Source Code:
(back to article)
import json json_data = '{"name": "John Doe", "age": 30, "city": "New York", "hobbies": ["reading", "traveling", "photography"]}' person = json.loads(json_data) print(person)
Result:
Report an issue