pub fn value_from_str(input: &str) -> Result<Value>
Expand description

Attempts to parse an individual value out of a str.

let x = serde_xmlrpc::value_from_str("<value><int>42</int></value>").unwrap().as_i32();
assert_eq!(x, Some(42));