❔ How to get specific fields from a Http GET request

I am working with a test API for learning purposes, I am using the following snippet to actually return the request body:
        using (var response = await client.SendAsync(request))
        {
            response.EnsureSuccessStatusCode();
            var body = await response.Content.ReadAsStringAsync();
            Debug.Log(body);
        }

I get a response such as:
{"results":[{"code":"1002227_group_013","name":"Cargo Joggers","stock":{"stockLevel":1},"price":{"currencyIso":"USD","value":39.99,"priceType":"BUY","formattedValue":"$ 39.99","type":"WHITE"},"images":[{"url":"https://lp2.hm.com/hmgoepprod?set=source[/66/07/660740532368338c273791d92e308e445a5af9c5.jpg],origin[dam],category[],type[DESCRIPTIVESTILLLIFE],res[m],hmver[2]&call=url[file:/product/style]","baseUrl":"https://image.hm.com/assets/hm/66/07/660740532368338c273791d92e308e445a5af9c5.jpg"}],"categories":[],"pk":"9461964111873","sellingAttributes":["New Arrival"],"whitePrice":{"currencyIso":"USD","value":39.99,"priceType":"BUY","formattedValue":"$ 39.99","type":"WHITE"},"articles":[{"code":"1002227013","name":"Cargo


How could I go about getting a specific field from this output, such as the "name" or "images"?
Was this page helpful?