pub fn get_json<T: DeserializeOwned>(
client: &TestMyCodeClient,
url: Url,
params: &[(&str, String)],
) -> Result<T, TestMyCodeClientError>Expand description
Fetches JSON from the given URL and deserializes it into T.
pub fn get_json<T: DeserializeOwned>(
client: &TestMyCodeClient,
url: Url,
params: &[(&str, String)],
) -> Result<T, TestMyCodeClientError>Fetches JSON from the given URL and deserializes it into T.