I\'m using Newtonsoft Json.net to parse the JSON string. I convert the string into the JObject. When access the value of the element by the key, I want to the comparison is
c# allows you to use dictionaries with keys that are case insensitive, so a workaround I've used is to convert the JObject to a dictionary with StringComparer.CurrentCultureIgnoreCase set, like so:
JObject json = (JObject)JsonConvert.DeserializeObject(ptString);
Dictionary d = new Dictionary(json.ToObject>(), StringComparer.CurrentCultureIgnoreCase);
String f = d["FROM"].ToString();