Bob Ippolito (@etrepum) on Haskell, Python, Erlang, JavaScript, etc.

simplejson 1.3


simplejson is a simple, fast, complete, correct and extensible JSON encoder/decoder for Python 2.3+. It is pure Python code with no dependencies. It's now the recommended module for Python use by (replacing json-py).

simplejson was previously named simple_json, but was renamed to comply with PEP 8 module naming guidelines.

simplejson 1.3 is a minor update that provides a new feature: an object_hook parameter to the decoder. The optional object_hook function is called upon decoding of any JSON object literal, and its return value is used instead of the dict that would normally be used. This can be used to efficiently implement features such as JSON-RPC class hinting, or other custom decodings of JSON. See the documentation for more information.

blog comments powered by Disqus