【问题标题】:What's the main difference between simplejson and the module in the standard library of python? [duplicate]simplejson与python标准库中的模块的主要区别是什么? [复制]
【发布时间】:2011-10-18 14:13:07
【问题描述】:

可能重复:
json and simplejson module differences in Python

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

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

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

【问题讨论】:

  • @GaretJax:我没有注意到问题已经存在。谢谢!
  • 这是 google 中“simplejson vs json”的第一个搜索结果

标签: python json simplejson


【解决方案1】:

标准库中的json simplejson,只是版本有点老,维护比较慢。至于使用哪个,stdlib json 除非你有充分的理由不使用。

【讨论】:

    猜你喜欢
    • 2010-10-17
    • 2017-06-23
    • 1970-01-01
    • 2011-05-03
    • 1970-01-01
    • 2019-09-04
    • 2012-10-29
    • 1970-01-01
    • 2021-11-01
    相关资源
    最近更新 更多