C# 实体转为json字符串
程序员文章站
2022-07-11 08:40:13
C# 实体转为json字符串 Catalog cata = new Catalog(); cata.C_platformid = 0; cata.C_isnav = 0; cata.C_isvalid = 1; string strJson = JsonConvert.SerializeObject ......
c# 实体转为json字符串
catalog cata = new catalog();
cata.c_platformid = 0;
cata.c_isnav = 0;
cata.c_isvalid = 1;
string strjson = jsonconvert.serializeobject(cata);
上一篇: php全局变量和类配合使用深刻理解
下一篇: DSAPI 3张图片实现花开动画