Answers for "json string to python dict"

1

python dict to json

import json
python_data = {'name': 'Dave', 'age': 42}
json_string = json.dumps(python_data)
Posted by: Guest on April-21-2022

Code answers related to "json string to python dict"

Code answers related to "Javascript"

Browse Popular Code Answers by Language