I have a JToken with the value {1234}
How can I convert this to an Integer value as var totalDatas = 1234;
var tData = jObject[\"$totalDatas\"]; int tota
You can use the JToken.ToObject() method.
JToken token = ...; int value = token.ToObject();