Function jsonrpc_core::serde_from_str
source · pub fn serde_from_str<'a, T>(input: &'a str) -> Result<T, Error>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