Function serde_hjson::value::from_value
source · [−]pub fn from_value<T>(value: Value) -> Result<T, Error> where
T: Deserialize,
Expand description
Shortcut function to decode a Hjson Value
into a T
pub fn from_value<T>(value: Value) -> Result<T, Error> where
T: Deserialize,
Shortcut function to decode a Hjson Value
into a T