統一された標準化を達成するためのWeb APIをリターンパラメータ!

ストリング camelCaseObj = JsonConvert.SerializeObject(データ、
                                     Newtonsoft.Json.Formatting.None、
                                     新しいJsonSerializerSettings()
                                     { 
                                         NullValueHandling = NullValueHandling.Ignore、
                                         ReferenceLoopHandling = ReferenceLoopHandling.Ignore、
                                         ContractResolver = 新しいCamelCasePropertyNamesContractResolver()
                                     })。// -驼峰格式的命名规范
camelCaseObj = camelCaseObj.ToLower(); //  - すべて小文字命名
VAR jsonConvertCommonData = JsonConvert.DeserializeObject(camelCaseObj)。

 

ます。https://www.cnblogs.com/Kummy/p/3758469.htmlで再現

おすすめ

転載: blog.csdn.net/weixin_34219944/article/details/93230617