Pylons/pyramid — pull request #536 by mmerickel (2012-04-17 04:33:29+00:00)
Title: cleaned up the json renderer api

Got rid of the ``ObjectJSONEncoder`` in favor of using the ``json.dumps(default=...)`` feature to avoid a silly subclass. Also made it more clear how to make a JSON encoder subclass that doesn't require using the stdlib's `json` library.