pub fn from_slice<T>(v: &[u8]) -> Result<T>where
T: DeserializeOwned,
Expand description
Decodes a Hjson value from a byte slice &[u8]
.
pub fn from_slice<T>(v: &[u8]) -> Result<T>where
T: DeserializeOwned,
Decodes a Hjson value from a byte slice &[u8]
.