Skip to main content

Module json

Module json 

Source
Expand description

JSONL (newline-delimited JSON) writer for packet export.

Each packet is serialised as a single JSON object on its own line. The output file uses the .jsonl extension by convention.

When payload compression is enabled the payload bytes are Zstd-compressed before Base64 encoding, reducing storage for large payloads.

Structsยง

JsonSink
Streaming JSONL writer that implements PacketSink.