Function get_json

Source
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.