pub fn encode_json_line<T: Serialize>(value: &T) -> Result<String, Error>
Encode a value as a JSON line (no embedded newlines, terminated by \n).