Function simd_json::serde::from_refowned_value
source · [−]pub fn from_refowned_value<T>(value: &OwnedValue) -> Result<T> where
T: DeserializeOwned,
Expand description
Tries to convert a &OwnedValue
into a struct that implements
serde’s Deserialize interface
Errors
Will return Err
if value
fails to be deserialized