pub fn from_borrowed_value<'de, T>(value: Value<'de>) -> Result<T, Error>where
T: Deserialize<'de>,Expand description
Tries to convert a BorrowedValue into a struct that implements
serde’s Deserialize interface
§Errors
Will return Err if value can not be deserialized