Skip to main content

get_json

Function get_json 

Source
pub async fn get_json(
    client: &Client,
    url: &str,
    allowed: &[&str],
) -> Result<Value>
Expand description

Fetch a JSON document, requiring 200 and an acceptable content type.