In which format MongoDB represents document structure?

MongoDB uses BSON to represent document structures.

In MongoDB, the document structure is represented in BSON (Binary JSON) format. BSON is a binary-encoded serialization of JSON-like documents and serves as the primary data interchange format used by MongoDB. It extends the JSON model to provide additional data types and to be efficient for encoding and decoding within MongoDB.