title: How I can deserialize my string into decimal property using JsonConverter?
body: <p>Here is the class</p>
  
  <pre><code> public class ModelingData : BaseEquatable&lt;ModelingData&gt;
      {
          [JsonConverter(typeof(DecimalToStringConvertor))]
          public decimal? ActualValue { get; set; }
  
          public string DisplayValue { get; set; }
  
          public override bool Equals(ModelingData other)
          {
              if (ReferenceEquals(null, other)) return false;
              if (ReferenceEquals(this, other)) return true;
              return Equals(other.ActualValue, ActualValue);
          }
      }
  </code></pre>
  
  <p>And I have created class</p>
  
  <pre><code>public class DecimalToStringConvertor : JsonConverter
      {
          public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
          {
              string javaScriptTicks = !string.IsNullOrWhiteSpace(Convert.ToString(value)) ? value.ToString() : string.Empty;
              writer.WriteValue(javaScriptTicks);
          }
  
          public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
          {
              if (existingValue == null)
              {
                  return 0M;
              }
  
              return Convert.ToDecimal(existingValue);
          }
  
          public override bool CanConvert(Type objectType)
          {
              return true;
          }
      }
  </code></pre>
  
  <p>Now when I am trying to deserialize it, It gives me always null in existingValue parameter of ReadJson Method. It is working fine for WriteJson.</p>
  
  <p>How I can deserialize my string into decimal property using JsonConverter?</p>