Search code examples
pythonjsonsimplejson

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


Possible Duplicate:
json and simplejson module differences in Python

On this page about json, I read about 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?


Solution

  • 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.