{"title":"\"Object of type 'Decimal' is not JSON serializable\"\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u306e\u5bfe\u51e6\u6cd5 #Python3 #AWS #dynamodb","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yokoyantech/20180613/20180613171711.png","description":"\u3084\u308a\u305f\u3044\u3053\u3068 Python3\u3092\u4f7f\u3063\u3066\u3001DynamoDB\u306equery\u3092\u4f7f\u3063\u3066\u53d6\u5f97\u3057\u305fJSON\u30c7\u30fc\u30bf\u3092PostgreSQL\u306bINSERT\u3057\u305f\u3044 \u5b9f\u884c\u74b0\u5883 AWS DynamoDB AWS Lambda Python3.6 psycopg2.7.4 AWS RDS\uff08PostgreSQL9.6.6\uff09 \u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc json\u3092\u4f7f\u3063\u3066\u30c0\u30f3\u30d7\u3057\u305f\u7d50\u679c\u3001INSERT\u6642\u306b\u30a8\u30e9\u30fc\u767a\u751f\u3002 import json cur.execute(insert_query,json.dumps(hogehoge)) \"errorMessage\": \"Object of type 'Decimal' is not JSON s\u2026","published":"2018-06-15 18:15:00","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yokoyan.net%2Fentry%2F2018%2F06%2F15%2F181500\" title=\"&quot;Object of type &#39;Decimal&#39; is not JSON serializable&quot;\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u306e\u5bfe\u51e6\u6cd5 #Python3 #AWS #dynamodb - \u7d19\u4e00\u91cd\u306e\u7a4d\u307f\u91cd\u306d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","version":"1.0","url":"https://www.yokoyan.net/entry/2018/06/15/181500","provider_url":"https://hatena.blog","blog_url":"https://www.yokoyan.net/","author_name":"yokoyantech","type":"rich","categories":["AWS","Python","DynamoDB"],"author_url":"https://blog.hatena.ne.jp/yokoyantech/","provider_name":"Hatena Blog","blog_title":"\u7d19\u4e00\u91cd\u306e\u7a4d\u307f\u91cd\u306d"}