pub fn decode<'a, T: Deserialize<'a>>(s: &'a str) -> Result<T, Error>Expand description
Decode a message from a JSON string (newline-trimmed).
pub fn decode<'a, T: Deserialize<'a>>(s: &'a str) -> Result<T, Error>Decode a message from a JSON string (newline-trimmed).