dynamic objmatch = new ExpandoObject(); Dictionary matchKV = new Dictionary(); matchKV.Add("name", "jk"); matchKV.Add("age","25"); Dictionary matchKV2 = new Dictionary(); matchKV2.Add("realName", "zs"); matchKV2.Add("realAge", "9"); List matchList = new List(); matchList.Add(matchKV); matchList.Add(matchKV2); objmatch.match = matchList; dynamic obj = new ExpandoObject(); obj.query = objmatch; obj.page = 5; string json = JsonConvert.SerializeObject(obj);

3.不知道还有木有其他更简单的创建方法?