compact json uses json.dumps(element) without any configuration
|
simple_node.value = json.dumps(element) |
so that there is no way to set
ensure_ascii=False and the output will always be with unicode escaped characters, like
"\u5f20\u4e09" instead of
"张三"
I think there should be a option to control this behaviour to make the output more human friendly.
compact json uses
json.dumps(element)without any configurationcompact-json/src/compact_json/formatter.py
Line 270 in 3b96495
so that there is no way to set
ensure_ascii=Falseand the output will always be with unicode escaped characters, like"\u5f20\u4e09"instead of"张三"I think there should be a option to control this behaviour to make the output more human friendly.