title: How to convert a JToken
body: <p>I have a JToken with the value {1234}</p>
  
  <p>How can I convert this to an Integer value as var totalDatas = 1234;</p>
  
  <pre><code>var tData = jObject["$totalDatas"];
  int totalDatas = 0;
  if (tData != null)
     totalDatas = Convert.ToInt32(tData.ToString());
  </code></pre>