Xamarin Forms reading JSON

Xamarin Forms reading JSON

So I am retrieving JSON data from my site and this is my code:

So I am retrieving JSON data from my site and this is my code:

The model:

    class Reservations
    {
        public string id_reservation { get; set; }
        public string spz { get; set; }
        public string reservation_day { get; set; }
        public string reservation_time { get; set; }
        public string ip_address { get; set; }
    }

The connection and parsing:

protected async void CheckReservations(string day)
        {
            if (CrossConnectivity.Current.IsConnected)
            {
                try
                {
    private const string Url = "Urltomysite";
        private HttpClient _client = new HttpClient();
                    var content = await _client.GetStringAsync(Url);
                    List<Reservations> myData = JsonConvert.DeserializeObject<List<Reservations>>(content);


                foreach (Reservations res in myData)
                {
                    System.Console.WriteLine("Time:" + res.reservation_time);
                }

            }
            catch (Exception e)
            {
                Debug.WriteLine("" + e);
            }
        }
    }

And the JSON response from my site:

[
{
id_reservation: "39",
spz: "NRGH67L",
reservation_day: "2019-01-26",
reservation_time: "14:00",
ip_address: "192.168.137.5"
}
]

But when I try to print the reservation_time from List of the Object in the foreach I dont get any results. I am still pretty new to this and got this far from tutorials, so dont know what I am missing.

Thanx for any replies.

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

JSON Tutorial For Beginners | What is JSON | Learning JSON with JavaScript

JSON Tutorial For Beginners | What is JSON | Learning JSON with JavaScript

What is JSON - JSON Parsing in Swift

What is JSON and how do you parse JSON in Swift? JSON stands for JavaScript Object Notation and it's a way to represent data in a standard way. Learn how to parse JSON in Swift using the Codable protocol. We take the response JSON data from a real API call and then parse it in Swift!

JavaScript | Convert JSON String to JSON Object

Convert JSON string to JSON object javascript. This tutorial is the purpose to explain the best ways and examples for convert JSON string to a JSON object.