public void CallSerialize(double?value)
 {
     if (value.HasValue)
     {
         CharStream.WriteJsonInfinity(value.Value);
     }
 }
 public void CallSerialize(double value)
 {
     if (Config.IsInfinityToNaN)
     {
         CharStream.WriteJson(value);
     }
     else
     {
         CharStream.WriteJsonInfinity(value);
     }
 }
 public void CallSerialize(double value)
 {
     CharStream.WriteJsonInfinity(value);
 }