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] [email protected], 18.2. json — JSON encoder and decoder

[2] [email protected], simplejson — JSON encoder and decoder

results matching ""

    No results matching ""