Expand description
Generic JSONL read/write with cursor-based polling.
Provides JsonlReader and JsonlWriter for line-delimited JSON files.
The reader tracks a byte offset so that each call to JsonlReader::poll
only returns newly appended records since the last read.
Structsยง
- Jsonl
Reader - Reads JSONL records from a file, tracking the byte offset so that each poll only returns lines appended since the previous read.
- Jsonl
Writer - Appends JSONL records to a file, creating parent directories as needed.