Function simd_json::serde::from_borrowed_value
source · pub fn from_borrowed_value<'de, T>(value: BorrowedValue<'de>) -> Result<T>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