Skip to main content

encode_json_line

Function encode_json_line 

Source
pub fn encode_json_line<T: Serialize>(value: &T) -> Result<String, Error>
Expand description

Encode a value as a JSON line (no embedded newlines, terminated by \n).