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
This should work:
string json = @"{UPPER: 'value'}"; JObject o = JObject.Parse(json); var value = o.GetValue("upper", StringComparison.OrdinalIgnoreCase)?.Value();