JSON

json

New In Python 2.6

JSON (JavaScript Object Notation), specified by RFC 7159 (which obsoletes RFC 4627) and by ECMA-404, is a lightweight data interchange format inspired by JavaScript object literal syntax (although it is not a strict subset of JavaScript [] ).

simplejson

Installation

pip install simplejson
  • json or simplejson

    try:
          import simplejson as json
    except ImportError:
        import json
    

cjson

ujson

yajl

References

[1] Docs@Python, 18.2. json — JSON encoder and decoder

[2] simplejson@TT4IT, simplejson — JSON encoder and decoder

results matching ""

    No results matching ""