python - simplejson和python标准库中的模块主要区别是什么?

标签 python json simplejson

Possible Duplicate:
json and simplejson module differences in Python

关于this page about json ,我阅读了有关 json 和可用于 json 的 python 模块的信息。提到这四个库:

  • Python 标准库中的 Json。
  • simplejson 。
  • pyson。
  • Yajl-Py

推荐哪一款?标准库和 simplejson 的主要区别是什么?

最佳答案

标准库中的

json simplejson,只是版本旧一点,维护比较慢。至于使用哪个,stdlib json 除非你有充分的理由不这样做。

关于python - simplejson和python标准库中的模块主要区别是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6918192/

相关文章:

python - 通过 PIL 和 colorsys 将 RGB 转换为 HSV

python - Json 转储字典抛出 TypeError : keys must be a string

java - 使用 JSON 文件填充 ListView

Java - Json 数组到 json 对象

python-3.x - Simplejson 错误 Python 3.3

python - 如何减少 MRI(.nii 格式)图像中的 channel 数?

python - 从用 python 读取的网页中读取一些内容

python - Pandas 保留原始值的放置

python - Flask-SQLAlchemy ORM/GeoAlchemy2 结果为字典,最终为 JSON

java - Gson解码json