Python base64 is not json serializable

Describes the cause and action for error messages.


Error Message(English):
base64 is not json serializable

Resolution


関連リンク


Serialize in JSON a base64 encoded data - Stack Overflow
https://stackoverflow.com/questions/37225035/serialize-in-json-a-base64-encoded-data

how to serialize arbitrary file types to json string in python ...
https://stackoverflow.com/questions/19149972/how-to-serialize-arbitrary-file-types-to-json-string-in・・・

How to encode bytes in JSON? json.dumps() throwing a ...
https://stackoverflow.com/questions/40000495/how-to-encode-bytes-in-json-json-dumps-throwing-a-typee・・・

Convert byte string to base64-encoded string (output not ...
https://stackoverflow.com/questions/33269020/convert-byte-string-to-base64-encoded-string-output-not・・・

Base 64 encode a JSON variable in Python
https://stackoverflow.com/questions/24831543/base-64-encode-a-json-variable-in-python

Python: JSON でバイナリを扱う - 子育てしながらエンジニアしたい
http://edosha.hatenablog.jp/entry/2017/09/05/174453

base64.b64encode Python Example - Program Creek
https://www.programcreek.com/python/example/262/base64.b64encode

Error saving image via JSON in Python 3 : Python - Reddit
https://www.reddit.com/r/Python/comments/7i9g65/error_saving_image_via_json_in_python_3/

String to byte management in 3.6 vs 2.7 : Python
https://www.reddit.com/r/Python/comments/96uwgg/string_to_byte_management_in_36_vs_27/

Cloudwatch -> Kinesis Firehose -> Lambda Python ...
https://www.reddit.com/r/aws/comments/7pjqfd/cloudwatch_kinesis_firehose_lambda_python_issue/



Name:
Comment:



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