title: JsonConvert.DeserializeObject boolean always false
body: <p>Why does the code below returns <code>false</code> for <code>showStatusbar</code>?</p>
  <p>I'm trying to use <code>JsonConvert.DeserializeObject</code> to convert a Json file.</p>
  <pre><code>using Newtonsoft.Json;
  using System;
  using System.Collections.Generic;
  
  namespace test
  {
      class Program
      {
          static void Main(string[] args)
          {
              string jsonData = &quot;{\&quot;Settings\&quot;: [{\&quot;networkDeviceDiscovery\&quot;: \&quot;supported\&quot;},{\&quot;showStatusbar\&quot;:true}]}&quot;;
  
              Root myDeserializedClass = JsonConvert.DeserializeObject&lt;Root&gt;(jsonData);
  
              Console.WriteLine(&quot;NetworkDeviceDiscovery: {0}&quot;, myDeserializedClass.Settings[0].NetworkDeviceDiscovery);
              Console.WriteLine(&quot;ShowStatusbar: {0}&quot;, myDeserializedClass.Settings[0].ShowStatusbar);
          }
      }
  
      public class Setting
      {
          [JsonProperty(&quot;networkDeviceDiscovery&quot;)]
          public string NetworkDeviceDiscovery;
  
          [JsonProperty(&quot;showStatusbar&quot;)]
          public bool ShowStatusbar;
      }
  
      public class Root
      {
          [JsonProperty(&quot;Settings&quot;)]
          public List&lt;Setting&gt; Settings;
      }
  }
  </code></pre>