title: Error converting value {null} to type 'System.DateTime' in input json
body: <p>This JsonSerializationException was thrown when I tried to input the following DateTime parameters in my Json : </p>
  
  <blockquote>
    <p>"Error converting value {null} to type 'System.DateTime' in input json" </p>
  </blockquote>
  
  <p>I have given the input here : </p>
  
  <pre><code>string inputJSONString = "{....,\"StartDateFrom\":null,\"StartDateTo\":null,\"EndDateFrom\":null,\"EndDateTo\":null,\....}";
  </code></pre>
  
  <p>and deserialising using :</p>
  
  <pre><code>scT = (SearchCriteriaTask)JsonConvert.DeserializeObject(inputJSONString , typeof(SearchCriteriaTask));
  </code></pre>
  
  <p>My json is correct , and I have also tried ("") values instead of null. 
  I was not able to find proper solution elsewhere. Thanks.</p>
  
  <p>If any part of code is needed, then please mention it.</p>