Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python write json to file utf8

open(jsonfile , "w", encoding="utf8").write(json.dumps(file,indent=4, ensure_ascii=False))
 
PREVIOUS NEXT
Tagged: #python #write #json #file
ADD COMMENT
Topic
Name
4+7 =