Skip to main content

load_jsonl

Function load_jsonl 

Source
pub fn load_jsonl(path: &Path) -> Result<Vec<Value>, String>
Expand description

Load a JSONL file; a missing file behaves like an empty stream. Blank lines are skipped. An invalid line is a hard error naming the file and its 1-based line number (no truncated-tail tolerance — see the module doc).