BSON (Binary JSON) es el formato binario que MongoDB utiliza para almacenar documentos — extiende JSON con tipos de datos adicionales (como fechas, ObjectId, binarios, y tipos de números apropiados) y es eficiente para almacenar y recorrer. Entender los tipos BSON te ayuda a almacenar datos correctamente.
BSON — JSON binario con más tipos
JSON has limited types (string, number, boolean, null, object, array).
BSON adds: ObjectId, Date, Binary, Decimal128, distinct Int/Long/Double, Timestamp, etc.
→ BSON is more efficient (binary, typed, traversable) and richer than plain JSON text.
