pub fn parse_as<T: DeserializeOwned>(input: &str) -> Result<T, SimpleError>Expand description
Tries to parse a string as the given type; otherwise returns the input wrapped in SimpleError
pub fn parse_as<T: DeserializeOwned>(input: &str) -> Result<T, SimpleError>Tries to parse a string as the given type; otherwise returns the input wrapped in SimpleError