pub fn json_cast<N, M>(params: N) -> Result<M, Error>where
N: Serialize,
M: DeserializeOwned,Expand description
Cast from N to M by serializing/deserialization to/from JSON.
pub fn json_cast<N, M>(params: N) -> Result<M, Error>where
N: Serialize,
M: DeserializeOwned,Cast from N to M by serializing/deserialization to/from JSON.