You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom json_encoder setting for Flask that I use to serialize my SQLAlchemy models, and if I use flask's jsonify method my serializer works as expected.
Flask-SocketIO seems to not use my serializer, instead (IIRC) using python's own serializer.
Is there any way to change which serializer Flask-SocketIO uses?
The text was updated successfully, but these errors were encountered:
Please give it a try and confirm that everything works, I have not tested a custom json encoder/decoder, just made sure the ones configured in the Flask app are used.
I have a custom json_encoder setting for Flask that I use to serialize my SQLAlchemy models, and if I use flask's jsonify method my serializer works as expected.
Flask-SocketIO seems to not use my serializer, instead (IIRC) using python's own serializer.
Is there any way to change which serializer Flask-SocketIO uses?
The text was updated successfully, but these errors were encountered: