Function simd_json::serde::to_owned_value
source · pub fn to_owned_value<T>(value: T) -> Result<OwnedValue>where
T: Serialize,
Expand description
Tries to convert a struct that implements serde’s serialize into
an OwnedValue
§Errors
Will return Err
if value fails to be turned into a owned value