Function cubist_proxy::transformer::json
source · pub fn json<Ti, To, Ei>(
pair: impl Pair<String, String, Ei>
) -> impl Pair<Ti, To, Ei>where
To: for<'a> Deserialize<'a> + Send,
Ti: Serialize + Send,
Ei: Send,
Error: Into<Ei>,
Expand description
Parses a stream of JSON strings into any type T which implements deserialize