themartorana/python-postmark — pull request #20 by mattrobenolt (2012-03-13 12:57:59+00:00)
Title: Better hierarchy for importing JSON. Simplejson is faster than the builtin "json" due to the compiled C _speedups module.

Not much to explain. Simplejson + _speedups is much faster than default JSON, so it should be preferred when importing.

And lastly, falls back to Django's implementation as a last effort in-case both imports fail, but they're using the module from with Django.