Allow unicode characters in json export
This commit is contained in:
parent
d3892c0e82
commit
9ee777274c
@ -75,7 +75,7 @@ def to_json(obj):
|
||||
:returns: A JSON string.
|
||||
:rtype: str
|
||||
"""
|
||||
return json.dumps(obj, default=__default)
|
||||
return json.dumps(obj, default=__default, ensure_ascii=False)
|
||||
|
||||
def from_json(data):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user