Function deserialize_from_vec

Source
pub fn deserialize_from_vec<T: DeserializeOwned>(data: Vec<u8>) -> Result<T>
Expand description

Parse JSON directly to a type from Vec<u8>

This is the most efficient approach - directly deserializes to the target type without intermediate OwnedValue