pub fn serde_from_str<'a, T>(input: &'a str) -> Result<T, SerdeError> where
    T: Deserialize<'a>, 
Expand description

workaround for https://github.com/serde-rs/json/issues/505 Arbitrary precision confuses serde when deserializing into untagged enums, this is a workaround