etlplus.file.bson

etlplus.file.bson module.

Helpers for reading/writing Binary JSON (BSON) files.

Notes

  • A BSON file is a binary-encoded serialization of JSON-like documents.

  • Common cases:
    • Data storage in MongoDB.

    • Efficient data interchange between systems.

    • Handling of complex data types not supported in standard JSON.

  • Rule of thumb:
    • If the file follows the BSON specification, use this module for reading

      and writing.

Classes

BsonFile()

Handler implementation for BSON files.