open('test_sstubs.json',encoding="utf-8") code example
Example: python json write utf 8
with open('speechbase.json', 'w') as jsonfile:
json.dump(DATA, jsonfile, indent = 4)
with open('speechbase.json', 'w') as jsonfile:
json.dump(DATA, jsonfile, indent = 4)