Function simd_json::serde::from_owned_value
source · pub fn from_owned_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