json_to_struct

Function json_to_struct 

Source
pub fn json_to_struct<'a, T: Deserialize<'a>>(json_body: &'a str) -> Option<T>