1👍
✅
I found the solution… Unfortunatelly the MongoEngine’s documentation is still growing…
They provided a method to_json() to the documents.
So:
dados = Estados.objects.exclude('Cidades').all().to_json()
Source:stackexchange.com