pub fn from_str(s: &str) -> Result<Feed, Error>Expand description
Attempts to JSON decode a str and return a Feed.
ยงErrors
If the string cannot be JSON decoded, then Error::SerdeJson(serde_json::Error) is returned.
If the decoded JSON value is not an Object, then Error::UnexpectedType is returned.