Skip to main content

load_jsonl

Function load_jsonl 

Source
pub fn load_jsonl<T>(path: &Path) -> Result<Vec<T>, EventLogError>
where T: for<'de> Deserialize<'de>,
Expand description

Reads a JSONL file after removing a crash-torn final record. A malformed complete record is corruption, not a torn tail, and is rejected.