前端之家收集整理的这篇文章主要介绍了
json.load() vs json.loads(),
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_
502_0@
json.load:
@H_
502_0@
Deserializefp(a.read()-supportingfile-like objectcontaining a JSON document) to a Python object using this conversiontable.
json.loads:
Deserializes(astrorunicodeinstance containing a JSON document) to a Python object using thisconversion table.