07-22-2023, 10:54 PM
In ASP.NET WebAPI, I know you can set the default json formatter to use camel case using [CamelCasePropertyNamesContractResolver()][1] in the global.aspx which will force ALL json serialization to camel case.
However, I need to be able to set it on a "Per Controller" instance, instead of a Global solution.
Is this possible?
[1]:
However, I need to be able to set it on a "Per Controller" instance, instead of a Global solution.
Is this possible?
[1]:
[To see links please register here]