[−][src]Function dns_online::net::parse_json
pub fn parse_json<T>(data: &[u8]) -> Result<T, Error> where
T: Deserialize<'de>,
Return the json object parsed as a Rust object of type T
pub fn parse_json<T>(data: &[u8]) -> Result<T, Error> where
T: Deserialize<'de>,
Return the json object parsed as a Rust object of type T