在 AWS dynamodb 中是以 Decimal 來儲存 number。
當要將 Decimal 轉換成 json 時,會出現 error。需要先將 Decimal 轉成 int or float 在轉換成 json

Reference

Comments

2021-04-20