Skip to main content

from_jsonl

Function from_jsonl 

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

Parse a JSONL model-change log back into records — the exact inverse of to_jsonl. Blank lines are skipped; a malformed line is a hard error (like crate::usage_log::from_jsonl — this is accounting/provenance data, corruption should be visible, not silently dropped).