Closed godd9170 closed 7 years ago
As it stands, the following error is thrown should a Decimal need to be serialized.
"errorType": "TypeError", "errorMessage": "Decimal('1.05') is not JSON serializable"
The following must be incorporated in order to ensure Decimals can be polled. http://stackoverflow.com/questions/31202956/json-typeerror-decimal34-3-is-not-json-serializable
Looks like both string representations, as well as unquoted 'decimal' representations work on the objects endpoint. So we'll just make the Postgres Poller stringify to avoid serialization troubles.
objects
As it stands, the following error is thrown should a Decimal need to be serialized.
The following must be incorporated in order to ensure Decimals can be polled. http://stackoverflow.com/questions/31202956/json-typeerror-decimal34-3-is-not-json-serializable