destream_json::de
pub async fn decode<S: Stream<Item = Vec<u8>> + Send + Unpin, T: FromStream>( source: S) -> Result<T, Error>
Decode the given JSON-encoded stream of bytes into an instance of T.
T