I searched the website for my question without success, so I ask the question here.
I use the MVC4 Web API to provide JSON data to the client. Since C # uses the Pascal naming convention, therefore, by default, the client receiving the JSON data is also in the Pascal naming convention, how can I configure it to return the camel naming convention to JSON?
Another problem is how to change the serialized name? for example, in C # I have a property called "Description", but to reduce the size of the data I would like to serialize it as "descr" in JSON, how to do it?
source share