Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个名为的 C# 方法
Void getCompanyAddresses(int iCompanyId, int iPersonId, string PersonName)
我要创建的是当前方法参数及其值的 JSON 数据,例如上面的 JSON 对象就像
{"iCompanyId":1214,"iPersonId":51,"PersonName":"Chetan"}
我还需要检查参数的总大小,其值不大于 1 MB。
谢谢。