Skip to main content

scan_stream

Function scan_stream 

Source
pub fn scan_stream(payload: &str) -> StreamScan
Expand description

Scan a whole stream: header, per-line JSON validity, record count.

Line-shape checks beyond JSON-object are the caller’s business (the import tool deserializes Memory; backup validates files differently). The header line, when present, must be the first non-empty line.