[][src]Function destream_json::de::decode

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.