simd_json::serde

Function from_refowned_value

source
pub fn from_refowned_value<T>(value: &OwnedValue) -> Result<T>
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