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);