pub fn iter_messages<R: Read>( input: R ) -> impl Iterator<Item = Result<Sbp, JsonError>>
Deserialize the IO stream into an iterator of messages.