pub fn from_value<T>(value: Value) -> Result<T, Error>where
T: DeserializeOwned,Expand description
Deserialise a snix_eval::Value directly into a T without going
through Nix evaluation. This is the inverse of crate::to_value.
pub fn from_value<T>(value: Value) -> Result<T, Error>where
T: DeserializeOwned,Deserialise a snix_eval::Value directly into a T without going
through Nix evaluation. This is the inverse of crate::to_value.