JObject.Parse()

Feb 16, 2010 at 2:54 PM

Is there anyway to make this method case-insensitive when it comes to member matching so it behaves similar to how the deserializer works?

Pseudo-code:

var json1 = "{\"member\":\"First Last\"}";

var json2 = "{\"MEMBER\":\"First Last\"}";

var jObj1 = JObject.Parse(json1);

var jObj2 = JObject.Parse(json2);

jObj1 != jObj2