Function serde_resp::de::from_str[][src]

pub fn from_str<T>(s: &str) -> Result<T> where
    T: DeserializeOwned

Deserialize from str.

This function simple wraps the &str with Cursor and calls from_buf_reader.

Errors

Please refer to Error