decode

Function decode 

Source
pub fn decode<T: Decodable>(s: &str) -> Result<T, DecoderError>
Expand description

Shortcut function to decode a JSON &str into an object