Function slog_extlog::slog_test::read_json_values[][src]

pub fn read_json_values(data: &mut Buffer) -> Vec<Value>

Read all the newline-delimited JSON objects from the given stream, panicking if there is an IO error or a JSON parse error. No attempt is made to avoid reading partial lines from the stream.