What's new? | Help | Directory | Sign in
Google
simplejson
simple, fast, extensible JSON encoder/decoder for Python
  
  
  
  
    
License: MIT License
Labels: json, python, serialization, ajax

simplejson is compatible with Python 2.3 and later with no external dependencies. It covers the full JSON specification for both encoding and decoding, with unicode support. By default, encoding is done in an encoding neutral fashion (plain ASCII with \uXXXX escapes for unicode characters).

simplejson 1.9.1 is the latest version:

The encoder may be subclassed to provide serialization in any kind of situation, without any special support by the objects to be serialized (somewhat like pickle).

The decoder can handle incoming JSON strings of any specified encoding (UTF-8 by default).

simplejson is API compatible with json-py, but is more easily extensible, has better unicode support, is probably also faster, and is MIT licensed (json-py is LGPL/GPL).

simplejson was formerly known as simple_json