nu_json::de

Function from_slice

Source
pub fn from_slice<T>(v: &[u8]) -> Result<T>
Expand description

Decodes a Hjson value from a byte slice &[u8].