JSON
 
By Firoz AnsariJune 05, 20191 min readComments (0)

Andrew Lock on some of the quirks of using JObject, in particular the way it doesn't honour the contract resolver settings used to serialize a given object graph, and three different ways to work around the behavior: set the global serializations settings, store the JObject using camelCase property names, or convert from a PascalCase JObject to a camelCase JObject. For the final option, a provided an extension method and unit tests to demonstrate the behavior.


JOIN THE DISCUSSION
COMMENTS (0)