typeerror:the josn object must be str,bytes or byteearray,not ‘dict‘

Bytes to STR
str (B, encoding = “UTF-8”)

str(b, encoding = “gbk”)

Encoding is written in the original byte variable encoding, what type of encoding byte to be converted into what type of encoding string


Read More: