Python decimal is not json serializable

Describes the cause and action for error messages.


Error Message(English):
decimal is not json serializable

Resolution


関連リンク


python3 で Decimal を JSON に変換 - Qiita
https://qiita.com/ekzemplaro/items/5fa8900212252ab554a3

"Object of type 'Decimal' is not JSON serializable"が発生したときの対処 ...
http://www.yokoyan.net/entry/2018/06/15/181500

Python 3.x cannot serialize Decimal() to JSON - Stack Overflow
https://stackoverflow.com/questions/43678946/python-3-x-cannot-serialize-decimal-to-json

Django - Object of type Decimal is not JSON serializable and ...
https://stackoverflow.com/questions/52319562/django-object-of-type-decimal-is-not-json-serializable-・・・

Object of type 'Decimal' is not JSON serializable Error when use ...
https://stackoverflow.com/questions/51153116/object-of-type-decimal-is-not-json-serializable-error-w・・・

JSON.Loads() TypeError: Object of type 'Decimal' is not JSON ...
https://stackoverflow.com/questions/49012078/json-loads-typeerror-object-of-type-decimal-is-not-json・・・

Decimal is not JSON serializable
https://stackoverflow.com/questions/22389338/decimal-is-not-json-serializable

Python ?雅地dumps 非?准?型| 博客
https://hexiangyu.me/2017/11/11/python-json-encode/

【python】TypeError: Object of type 'Decimal' is not JSON serializable と ...
http://gamushiros.hatenablog.com/entry/2018/07/15/155821

TypeError: Decimal(...) is not JSON serializable with use_decimal ...
https://github.com/simplejson/simplejson/issues/34



Name:
Comment:



[return to Python エラーコード一覧]