simd_json::serde

Function from_owned_value

source
pub fn from_owned_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