(self)
return json.dumps(self.to_mongo_dict())
Return a json serializable dictionary which includes all data to be saved in mongo (as opposed to postgres)
Return a json serializable dictionary which includes all data to be saved in mongo (as opposed to postgres)
Return a json serializable dictionary which includes all data to be saved in mongo ( as opposed to postgres )
def to_mongo_json(self):
        """
        Return a json serializable dictionary which includes all data to be saved in mongo (as opposed to postgres)
        """
        return json.dumps(self.to_mongo_dict())
def to_mongo_json ( self ) : return json . dumps ( self . to_mongo_dict ( ) )