阅读背景:

在将C#对象序列化为JSON时,如何处理不同的命名约定?

来源:互联网 

I am using ASP.Net to serialize classes designed in C# to JSON. My Javascript application then requests those objects with AJAX. I have done this on a couple of projects now, but I run into the problem that the C# standard naming conventions use PascalCase for the public members, and in Javascript they are generally camelCase.I am using ASP.Net to serialize classes designe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: