Function from_str

Source
pub fn from_str<T: DeserializeOwned>(s: &str) -> Result<T>
Expand description

Generically creates a deserializer from string slice.

ยงErrors

Returns an error if