json serialize object capitalization config
protected void Application_Start() {
JsonConfig.Configure();
}
public static class JsonConfig
{
public static void Configure(){
var formatters = GlobalConfiguration.Configuration.Formatters;
var jsonFormatter = formatters.JsonFormatter;
var settings = jsonFormatter.SerializerSettings;
settings.ContractResolver = new CamelCasePropertyNamesContractResolver();
}
}
Also in C#:
- c# discord bot
- On add component unity
- c# datetime dd/mm/yyy hh:mm:ss
- webclient c# example post
- unity fall damage c#
- c# linq join multiple conditions
- how to display an image url in c# picturebox
- check if two timespans intersect c#
- how to add array to list in c#
- ASP select box all states
- c# join string array
- Movement 2d unity
- get string character by index c#
- C# previous method
- how to find the area of a circle
- populate combobox from array c#
- how to change scenes in unity
- what is c# used for
- bitmap to byte array c#
- print line in python
- how to find the type of a object c#
- c# string formatting
- c# string methods
- c# repeat string x times