Python 2.7.18
after upgrade to latest version v0.9.10,
import json5
import codecs
config = {"foo": 'bar'}
with codecs.open('config1.json', 'w', encoding='utf-8') as f:
json5.dump(config, f, indent=4, quote_keys=True, trailing_commas=False, ensure_ascii=False)
an error occurred as title