- changed status to open
given traceback when convert into json format
Issue #17
resolved
TypeError: Object of type 'Decimal' is not JSON serializable
Amount of Exchange is in Decimal so it's not JSON serializable.
In as_dict function of Exchange class, amount should not be return as a Decimal. Here need to use utils.export_decimal function.
Thanks
Comments (3)
-
repo owner -
repo owner - changed status to resolved
-
repo owner Thank you for your report.
- Log in to comment