공부
[python] convert bytes array to JSON string
승가비
2022. 9. 11. 20:05
728x90
import json
json.loads(my_bytes_value)
https://stackoverflow.com/questions/40059654/python-convert-a-bytes-array-into-json-format
Python - Convert a bytes array into JSON format
I want to parse a bytes string in JSON format to convert it into python objects. This is the source I have: my_bytes_value = b'[{\'Date\': \'2016-05-21T21:35:40Z\', \'CreationDate\': \'2012-05-05\'...
stackoverflow.com
728x90