etlplus.file.ndjson

etlplus.file.ndjson module.

Helpers for reading/writing Newline Delimited JSON (NDJSON) files.

Notes

  • An NDJSON file is a format where each line is a separate JSON object.

  • Common cases:
    • Streaming JSON data.

    • Log files with JSON entries.

    • Large datasets that are processed line-by-line.

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

      reading and writing.

Classes

NdjsonFile()

Handler implementation for NDJSON files.