pub fn deser_params<T: DeserializeOwned>(
params: Value,
) -> Result<T, RuntimeError>Expand description
Deserialize a verb’s JSON params into T.
A failure becomes RuntimeError::InvalidInput whose text is bad params: followed by the
message serde reports with recognized secrets masked, for example a missing required field
or a field rejected by deny_unknown_fields. Ordinary diagnostics remain unchanged.