Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

python dict to json

import json
python_data = {'name': 'Dave', 'age': 42}
json_string = json.dumps(python_data)
 
PREVIOUS NEXT
Tagged: #python #dict #json
ADD COMMENT
Topic
Name
6+1 =