C# Newtonsoft.Json JObject 操作举例
JArray j = new JArray();
JObject obj = new JObject(
new JProperty("aa", "111")
);
JObject obj2 = new JObject(
new JProperty("bb",
new JObject(new JProperty("cc", "33"))
));
obj.Add(obj2);
Response.Write(obj.ToString());
|
请发表评论