We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table:
CREATE TABLE test (id int, value json);
With data:
But event's values in python3 is :
{"id":1,"value":{b"string1":b"string2"}
And when use json.dumps will raise TypeError: keys must be a string
json.dumps
TypeError: keys must be a string
The text was updated successfully, but these errors were encountered:
According to rfc7159 : https://tools.ietf.org/html/rfc7159#section-8.1
JSON text SHALL be encoded in UTF-8, UTF-16, or UTF-32. The default encoding is UTF-8
So should decode as utf-8
utf-8
Sorry, something went wrong.
No branches or pull requests
Table:
CREATE TABLE test (id int, value json);
With data:
But event's values in python3 is :
{"id":1,"value":{b"string1":b"string2"}
And when use
json.dumps
will raiseTypeError: keys must be a string
The text was updated successfully, but these errors were encountered: