pub fn from_value<T>(value: Value) -> Result<T>where
T: DeserializeOwned,Expand description
A convenience function for deserializing a value of type T
from a Value.
Unlike the other convenience functions this returns a plain Error
rather than a SpannedError, since an in-memory Value
has no source text to point a span into.