Category Archives: ASP.NET MVC

Serialize .NET objects as camelCase JSON

ASP.NET MVC is amazing how easy it is to serialize from a .NET POCO to JSON and the other way around using the model binder. But one thing I really don’t like is how serializing .NET objects to JSON returns the properties PascalCase. Net has PascalCase coding convention for properties and JavaScript uses camelCase. The […]