Open francisliyy opened 6 years ago
pgi = ProcessGenInput.objects(id=pk).first() pgi.to_json() when I do like that I got extended json, it is no use, since I want to transfer json data to web page and use javascript to get data from it. Could you help me to fix it? thank you
I've posted your question to the mongoengine user group and responded there.
https://groups.google.com/forum/#!topic/mongoengine-users/9UnTul4VmCY
@francisliyy @JohnAD responded your question
pgi = ProcessGenInput.objects(id=pk).first() pgi.to_json() when I do like that I got extended json, it is no use, since I want to transfer json data to web page and use javascript to get data from it. Could you help me to fix it? thank you