hiroaki-yamamoto / mongoengine-goodjson

More human-readable json serializer/deserializer for MongoEngine
MIT License
63 stars 19 forks source link

convert pipeline query result to JSON? #205

Open brtasavpatel opened 4 years ago

brtasavpatel commented 4 years ago

If I use aggregation pipeline. query result comes back as a dictionary instead of a mongo document object. Is there a way to convert that dict result to goodjson format? because using bson.dumps produces inconsistent results with current goodjson format.

hiroaki-yamamoto commented 4 years ago

Unfortunately, there's no method atm, but I'm interested in implementing it.

brtasavpatel commented 4 years ago

thanks. I'll go through the code and see if I can contribute for that.

rlaurente commented 4 years ago

Hi guys, is there any updates about this ?

Thanks

brtasavpatel commented 3 years ago

any updates on this?