title: JSON decimal to double
body: <p>Is there a way to set that JSON would decode variables to double instead of decimal?</p>
  
  <p>example:</p>
  
  <pre><code>[DataContract]
  class ReturnData
  {
      [DataMember]
      public object[] array { get; set; }
  }
  
  public ReturnData DecodeJsonString()
  {
      string str = "{ \"array\" : [\"custom array\", 0.1, 0.2, 0.3, 0.4] }";
      var json = new DataContractJsonSerializer(typeof(ReturnData));
      var stream = new MemoryStream(Encoding.UTF8.GetBytes(str));
      var obj = json.ReadObject(stream);
      stream.Close();
      return (ReturnData)obj;
  }
  </code></pre>
  
  <p>I get "obj" array that contains with decimal numbers, but I need it to be double. I don't want to convert to double by my self. Is there a way to teach JsonSerializer to do so?</p>