以下の内容はhttps://anton0825.hatenablog.com/entry/2016/10/14/000000より取得しました。


json.dumps(dic)を実行すると「json.dumps typeerror object of type 'bytes' is not json serializable」エラー

原因はdictの中にbytes型オブジェクトが含まれているため。以下のようにしてstrにしてから渡すと直った。 dic["key"] = str(bytes_item)

参考:

stackoverflow.com




以上の内容はhttps://anton0825.hatenablog.com/entry/2016/10/14/000000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14