Answers for "write dict to json file with special characters"

0

write dict to json file with special characters

with open(filename, 'w', encoding='utf-8') as file:
    json.dump(data, file, ensure_ascii=False)
Posted by: Guest on May-30-2021

Code answers related to "write dict to json file with special characters"

Python Answers by Framework

Browse Popular Code Answers by Language