bustleandflurry/bottle-api-json-formatting — pull request #10 by yadutaf (2014-07-17 11:32:43+00:00)
Title: expose 'default' param from json.dumps for custom serialization

`json.dumps` and `simplejson.dumps` both support a `default` parameter to serialize complex types. This commit exposes it on plugin's constructor as `json_default_encoder`. This allows API's to simply return complex objects and let the serializer do all the hard work in a centralized place.