I\'m having to perform some custom deserialization with JSON.NET and I just found that it\'s treating the key values in a JToken as case sensitive. Here\'s some code:
<Convert JToken to JObject and use TryGetValue method of JObject in which you can specify String Comparision.
var jObject = JToken.Load(reader) as JObject;
JToken version;
jObject.TryGetValue("version", StringComparison.OrdinalIgnoreCase, out version);
You can cast JToken to JObject and do this:
string ver = ((JObject)token).GetValue("version", StringComparison.OrdinalIgnoreCase)?.Value<string>();