title: Reading a json content in Xamarin forms
body: <p>I am new in Xamarin forms and json and I am using the Newtonsoft.Json to deserialze the data</p>
  
  <p>I am trying to read from a json data to a list of a class name user I created.</p>
  
  <p>I am not sure how to connect the deserialize into a a list of class  since after the desrialzation I put it into a var varaible and not to a list of class name users.</p>
  
  <p>will appericate a code example of how to fix my code below:</p>
  
  <p>Thanks.</p>
  
  <p>json looks like this:</p>
  
  <pre><code>[{"Id":"0","userPhone":"000000","userName":"Barak","Conferance_ID":"1"}]
  </code></pre>
  
  <p>attaching my code:</p>
  
  <pre><code>public async Task&lt;List&lt;User&gt;&gt;  GetUserList(string textBox)
      {
          // Use https to satisfy iOS ATS requirements.
          var client = new HttpClient();
          var response = await client.GetAsync("http://conferencecreating-com.stackstaging.com/UsersWebService.php");
          var responseString = await response.Content.ReadAsStringAsync();
          var JsonObject  = JsonConvert.DeserializeObject (responseString);
             // want to add here how loop the jason object?
  
      }
  </code></pre>
  
  <p>this the class I created to inset the data</p>
  
  <pre><code> public class User
  {
      public int ID { get; set; }
      public string userPhone { get; set; }
      public string userName { get; set; }
      public int Conferance_ID { get; set; }
  }
  </code></pre>