json.dump(
obj,
fp,
*,
skipkeys=False,
ensure_ascii=True,
check_circular=True,
allow_nan=True,
cls=None,
indent=None,
separators=None,
default=None,
sort_keys=False,
**kw,
)
If specified, ``separators`` should be an ``(item_separator, key_separator)``
tuple. The default is ``(', ', ': ')`` if *indent* is ``None`` and
``(',', ': ')`` otherwise. To get the most compact JSON representation,
you should specify ``(',', ':')`` to eliminate whitespace.
separators默認多分隔符為(', ', ': '),里面帶有空格,在返回前段多時候,如果空字符帶上,會消耗傳輸速度。
indent參數可以在調試模式設置為4,這樣顯示多返回數據看起來比較好
ensure_ascii設置為False,返回給前段中文不會轉化為asc。
sort_keys參數,排序選項
ascii設置為False,返回給前段中文不會轉化為asc。
[Ascii shèzhì wèi False, fǎnhuí gěi qiánduàn zhōngwén bù huì zhuǎnhuà wéi asc.]

ascii set to False, returns to the preceding Chinese not translate into asc.