Closed dxmo closed 3 years ago
Hi, my API needs to handle Decimal type so I've created this simple fix. It would probably be better to use 'simplejson' (with a fallback to 'json') like flask (specifically the itsdangerous json module) is doing, but this works for me.
Added handling of Decimal type to JSON Encoder (since the switch to 'json.dumps' Decimal type was no longer supported).