Best way to convert Object to binary datatype in MongoDb Enterprise

Hi,

I am new to MongoDb hence apologies if this is a basic question. We have a collection with objects in it. We would like to convert them to binary as we store the objects so that its easier for the consumers to work with it.

Can someone please help me with the best way to solve it?

Thanks,
Hiral