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