C#将对象序列化成JSON字符串
public string GetJsonString()
{
List<Product> products = new List<Product>(){
new Product(){Name=苹果,Price=5},
new Product(){Name=橘子,Price=5},
new Product(){Name=干柿子,Price=00}
};
ProductList productlist = new ProductList();
productlistGetProducts = products;
return new