Function nu_json::de::from_slice [−][src]
pub fn from_slice<T>(v: &[u8]) -> Result<T> where
T: DeserializeOwned,
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]
.