开发者

What's the main difference between simplejson and the module in the standard library of python? [duplicate]

开发者 https://www.devze.com 2023-03-25 00:03 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: json and simplejson module differences in Python
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

json and simplejson module differences in Python

On this page about json, I read abo开发者_StackOverflowut json and the python modules available for json. The mention those four libraries:

  • Json in the Python Standard Library.
  • simplejson.
  • pyson.
  • Yajl-Py

Which one is recommended? What is the main difference between the library from the standard library and simplejson?


json in the standard library is simplejson, only bit older version, maintained more slowly. As for which to use, stdlib json unless you have a good reason not to.

0

精彩评论

暂无评论...
验证码 换一张
取 消