2011-08-02 29 views
1

可能重複:
json and simplejson module differences in Pythonsimplejson和Python標準庫中模塊的主要區別是什麼?

this page about json,我也讀到了JSON和可用於JSON的Python模塊。提及那四個庫:

  • Json在Python標準庫中。
  • simplejson。
  • pyson。
  • Yajl-PY

哪一個建議?標準庫和simplejson庫的主要區別是什麼?

+0

@GaretJax:我沒有注意到問題已經在那裏了。謝謝! – Aufwind

+0

這是谷歌首個針對「simplejson vs json」的搜索結果, – GaretJax

回答

3

json在標準庫中 simplejson,只是比較老版本,維護比較慢。至於使用哪個,stdlib json除非你有充分的理由不這樣做。

相關問題