title: C xamarin JsonConvert.DeserializeObject ERREUR
body: <p>I can't make my list, I have an error in my code but I can't find how to solve it. here is my little code,
  I am taker of all remaque to make me evolve on my code and my know-how :</p>
  <pre><code>{
  &quot;count&quot; : 14568491,
  &quot;first&quot; : &quot;https://hubeau.eaufrance.fr/api/v1/hydrometrie/observations_tr?pretty&amp;code_station=V501401001&amp;grandeur_hydro=H&amp;cursor=&amp;size=2&quot;,
  &quot;prev&quot; : null,
   &quot;next&quot; : &quot;https://hubeau.eaufrance.fr/api/v1/hydrometrie/observations_tr?pretty&amp;code_station=V501401001&amp;grandeur_hydro=H&amp;cursor=AoJwyNmH//YCPwxWMzUzMDAwMV9WMzUzMDAwMTAxX0hfNF8yMD 
   IxLTAxLTEzVDIzOjQwOjAw&amp;size=2&quot;,
      &quot;api_version&quot; : &quot;1.0.1&quot;,
   &quot;data&quot; : [ {
  &quot;code_site&quot; : &quot;V3524010&quot;,
  &quot;code_station&quot; : &quot;V352401001&quot;,
  &quot;grandeur_hydro&quot; : &quot;H&quot;,
  &quot;date_debut_serie&quot; : &quot;2021-01-13T00:00:01Z&quot;,
  &quot;date_fin_serie&quot; : &quot;2021-01-13T23:40:00Z&quot;,
  &quot;statut_serie&quot; : 4,
  &quot;code_systeme_alti_serie&quot; : 31,
  &quot;date_obs&quot; : &quot;2021-01-13T23:40:00Z&quot;,
  &quot;resultat_obs&quot; : 1099.0,
  &quot;code_methode_obs&quot; : 0,
  &quot;libelle_methode_obs&quot; : &quot;Mesure&quot;,
  &quot;code_qualification_obs&quot; : 16,
  &quot;libelle_qualification_obs&quot; : &quot;Non qualifiée&quot;,
  &quot;continuite_obs_hydro&quot; : true,
  &quot;longitude&quot; : 4.786558451,
  &quot;latitude&quot; : 45.206032312
   }, {
  &quot;code_site&quot; : &quot;V3530001&quot;,
  &quot;code_station&quot; : &quot;V353000101&quot;,
  &quot;grandeur_hydro&quot; : &quot;H&quot;,
  &quot;date_debut_serie&quot; : &quot;2021-01-13T00:00:01Z&quot;,
  &quot;date_fin_serie&quot; : &quot;2021-01-13T23:40:00Z&quot;,
  &quot;statut_serie&quot; : 4,
  &quot;code_systeme_alti_serie&quot; : 31,
  &quot;date_obs&quot; : &quot;2021-01-13T23:40:00Z&quot;,
  &quot;resultat_obs&quot; : 816.0,
  &quot;code_methode_obs&quot; : 0,
  &quot;libelle_methode_obs&quot; : &quot;Mesure&quot;,
  &quot;code_qualification_obs&quot; : 16,
  &quot;libelle_qualification_obs&quot; : &quot;Non qualifiée&quot;,
  &quot;continuite_obs_hydro&quot; : true,
  &quot;longitude&quot; : 4.769828561,
  &quot;latitude&quot; : 45.191519092
    } ]
   }
  </code></pre>
  <p>below the class I use, is this good?</p>
  <pre><code>    public class Datum
      {
          public string code_site { get; set; }
          public string code_station { get; set; }
          public string grandeur_hydro { get; set; }
          public DateTime date_debut_serie { get; set; }
          public DateTime date_fin_serie { get; set; }
          public int statut_serie { get; set; }
          public int code_systeme_alti_serie { get; set; }
          public DateTime date_obs { get; set; }
          public double resultat_obs { get; set; }
          public int code_methode_obs { get; set; }
          public string libelle_methode_obs { get; set; }
          public int code_qualification_obs { get; set; }
          public string libelle_qualification_obs { get; set; }
          public bool continuite_obs_hydro { get; set; }
          public double longitude { get; set; }
          public double latitude { get; set; }
      }
  
      public class Root
      {
          public int count { get; set; }
          public string first { get; set; }
          public object prev { get; set; }
          public string next { get; set; }
          public string api_version { get; set; }
          public List&lt;Datum&gt; data { get; set; }
      }
  </code></pre>
  <p>the code I am using has some errors, I am a beginner in this area of ​​use:</p>
  <pre><code> var malist = new List&lt;string&gt;();
                  Root json = JsonConvert.DeserializeObject&lt;Root&gt;(resultH);
                  
                  foreach (var order in json)
                  {
                      string vader = order.data.resultat_obs;
                      malist.Add(vader);
                  }
  </code></pre>
  <p>my goal is to get my list of &quot;resultat_obs&quot;. What do you think ?</p>