Skip to main content

stamp_line

Function stamp_line 

Source
pub fn stamp_line(line: &str, record: &RecordOrigin) -> String
Expand description

line (one NDJSON user record, no trailing newline) with record added to its amx. A line that is not a JSON object is returned as it is: the record then has no origin, and a reader takes it as untyped.