AttributeError: module 'flask.json' has no attribute 'JSONEncoder'
gwalingarj opened this issue · 3 comments
gwalingarj commented
Flask 2.2.3
MongoEngine 0.27.0
JSONEncoder = json.JSONEncoder
AttributeError: module 'flask.json' has no attribute 'JSONEncoder'
CS-PK commented
I am facing same issue :(
iammustafatz commented
json_encoder and json_decoder attributes on app and blueprint, and the corresponding json.JSONEncoder and JSONDecoder classes, are removed from Flask version 2.3.0.
So, it shows JSONEncoder = json.JSONEncoder
AttributeError: module 'flask.json' has no attribute 'JSONEncoder'
For more refer: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-0
idoshr commented
This repo is not the address for flask integration issues
Follow this issue in flask-mongoengine:
MongoEngine/flask-mongoengine#522