title: How to deserialize string to JObject without scientific notation in C#
body: <p>I have a string like this:</p>
  
  <pre><code>var str = "{'data': {'someProperty': 0.00001}}";
  </code></pre>
  
  <p>When I parse it to JObject like that</p>
  
  <pre><code>var jObject = JObject.Parse(str);
  </code></pre>
  
  <p>My jObject looks like this:</p>
  
  <pre><code>{"data": {"someProperty": 1E-05}}
  </code></pre>
  
  <p>I need to get rid of scientific notation so that resulting JObject would look like original json.</p>
  
  <p>I managed to do that using later version of Newtonsoft.Json like that:</p>
  
  <pre><code>var serializer = new JsonSerializer { FloatParseHandling = FloatParseHandling.Decimal };
  using (System.IO.TextReader tr = new System.IO.StringReader(str)
  using (var jsonReader = new JsonTextReader(tr))
  {
      var jp = serializer.Deserialize(jsonReader);
      var jObject = JObject.FromObject(jp);
  }
  </code></pre>
  
  <p>But I need to achieve the same result using Newtonsoft.Json version 3.5 which does not have a FloatParseHandling property. I guess I need to implement a JsonConverter somehow, but I have no idea how to do that, since my real json is much more complex than the one in example and I need to handle all the float values in it the right way.</p>
  
  <p>So, what would be the right way to get a JObject without a scientific notation for float values using Newtonsoft 3.5?</p>