Skip to main content

from_jsonl

Function from_jsonl 

Source
pub fn from_jsonl(text: &str) -> Result<Vec<TurnRecord>>
Expand description

Parse a JSONL marker log back into records — the exact inverse of to_jsonl. Blank lines are skipped; a malformed line is a hard error (this is an audit log, so a corrupt record should be visible, never silently dropped — same posture as crate::usage_log::from_jsonl).