Function merde::from_value_ref

source ยท
pub fn from_value_ref<'s, T>(value: &Value<'s>) -> Result<T, MerdeError>
where T: ValueDeserialize<'s>,
Expand description

Interpret a &Value as an instance of type T. This may involve more cloning than from_value.