pub fn from_value<T>(value: Value) -> Result<T, Error>where T: DeserializeOwned,
Deserializes an instance of T from a Value.
T
Deserialization can fail if the data is not valid, if the data cannot cannot be deserialized into an instance of T, and other IO errors.