chula.json – Wrapper for json support

Wrapper to make it easy to switch from one json library to another. Currently this module is searching for a json provider in the following order:

  1. json (builtin)
  2. simplejson
  3. simpljson (as packaged with Django)

The purpose behind this module is to allow Chula to avoid having a static copy of a json provider (for older vesions of Python) yet still work in most cases. If one of the above json providers cannot be found, a chula.error.MissingDependencyError will be raised.

Previous topic

chula.guid – Globally unique identifier

Next topic

chula.nosql.couch – Wrapper for python-couchdb

This Page