pub fn read_json<'a>( inp: &mut impl BufRead, buf: &'a mut String, ) -> Result<Option<&'a String>>
Reads a JSON message from the input stream.