Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
JsonOutputHandler Doesn't Pass Keyword Args to json.dumps() #385
I'm trying to render some JSON that has some Decimal values and I get the error "Decimal('9.09') is not JSON serializable". I would like to be able to call something like self.app.render(x, cls=DecimalEncoder), where I can use the keyword arguments found in the JSON python library. Is this possible?