Is there simple way using JSON in .NET to ensure that the keys are sent as lower case?
At the moment I\'m using the newtonsoft\'s Json.NET library and simply using>
For me I used a combination of some of the other answers and ended up with this
return JsonConvert.SerializeObject(obj, Formatting.Indented, new JsonSerializerSettings
{
ContractResolver = new CamelCasePropertyNamesContractResolver()
});
was closer to a solution to what I was looking for as I was not looking to create my own