json.loads() 反序列化时,参数"strict=False"代表的含义

If strict is false (True is the default), then control characters will be allowed inside strings. 
Control characters in this context are those with character codes in the 0–31 range, including '\t' (tab), '\n', '\r' and '\0'.

如果strict为false(默认值为True),则字符串中允许使用控制字符。此上下文中的控制字符是那些字符代码在0–31范围内的字符,包括“\t”(制表符)、“\n”、“r”和“\0”。
posted @ 2021-01-27 18:49  嗨,阿良  阅读(3173)  评论(0编辑  收藏  举报